This CSharp (C#) code snippet demonstrates how to let the user select a filename with the OpenFileDialog control.
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 digest authentication method enabled.
This CSharp (C#) code snippet shows how to request a web page using the HttpWebRequest class with basic authentication method enabled.
The following code snippet demonstrates how to calculate the MD5 checksum of a given input string. The MD5 checksum is returned as a hexadecimal string (as usual).