^

Archive - C-sharp

Category about C-sharp

Sub-Categories: [Networking] [Hints]

Networking

Get Remote HTML Code as String

Here is an example function to get the full html output code of an URL provided to the function into a string. You can get the data by using a string... To see full entry click on the link above!

Hints

Add Colored Text To RichTextBox

You can add this function to display colored text in a richtextbox! [Just Append With that Function]         p... To see full entry click on the link above!

Allow Application Run Only Once

Here is an example to allow software to run only once on a machine. If the user tries to start the application again, there will ne a notification bo... To see full entry click on the link above!

Get the current Directory

 Here the code to get the current Directory! string path = Directory.GetCurrentDirectory(); See more detailed Info here: https://d... To see full entry click on the link above!

Load an XML exe.config File (Custom Path)

Here an example to load an custom application xml config file. // Load Configuration CurrentConfPath = "C:\PATH\TO\EXE.CONFIG"; ExeCo... To see full entry click on the link above!

Prepare Scripts for SSL Connections

If SSL Connections fail with Security Protocol Error, this code in Main Function could do the trick!        &nbs... To see full entry click on the link above!

Theme
12/10
This Website is using Session Cookies for Site Functionality and AWStats.