- [WebMethod()]
- public static bool SaveCapturedImage(string data)
- {
- string fileName = DateTime.Now.ToString("dd-MM-yy");
- //Convert Base64 Encoded string to Byte Array.
- byte[] imageBytes = Convert.FromBase64String(data.Split(',')[1]);
- //Save the Byte Array as Image File.
- string filePath = HttpContext.Current.Server.MapPath(string.Format("~/CapturedImage/{0}.jpg", fileName));
- File.WriteAllBytes(filePath, imageBytes);
- return true;
- }
How to capture image by multiple computer and use
below is my code to capture image by webcam using asp.net c#. i want to make application which is using in multiple computer by server in same time capture image by multiple pc. how to make it.. kindly suggest me good code for it.


Bhavesh VankarRank #1,147 · 1.6K reputationPosted Nov 10, 2020, 11:11 PM EST
Hussam Barouqa19 reputationPosted Nov 19, 2020, 3:25 AM EST