Quantcast
Channel: Dailycode.Info - C#.NET
Viewing all articles
Browse latest Browse all 10

Grabbing the image from AXIS (P1346) Network Camera

$
0
0

Thanks to the wonderful API this camera has, you do not need DLL's or Active X controls. You can just get an image for example by the API.

Here an example to get the image from the camera using c# (this can be used in a service, web service or other applications):

Uri test = newUri("http://192.0.0.100/jpg/image.jpg");

WebClient wc = newWebClient();

wc.Credentials = newNetworkCredential("MyUser", "MyPassW0rd");

wc.DownloadFile(test, @"C:\TakePicture\picFromWS.jpg");

wc.Dispose(); 

 

 


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images