- [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.

Hussam BarouqaPosted Nov 19, 2020, 8:25 AM
Bhavesh VankarPosted Nov 11, 2020, 4:11 AM