Code Snippets

This CSharp (C#) code snippet demonstrates how to let the user select a filename with the SaveFileDialog control.

This CSharp (C#) code snippet demonstrates how to let the user select a filename with the OpenFileDialog control.

This CSharp (C#) code snippet shows how to request a web page using the HttpWebRequest class with digest authentication method enabled.

The following CSharp code snippet shows how to submit an HttpWebRequest with POST data. The POST parameters for the HttpWebRequest are passed as a Dictionary object to the method, which returns the result page of the request.

This CSharp (C#) code snippet shows how to request a web page using the HttpWebRequest class with basic authentication method enabled.

Page 1 of 2
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.