C#

C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java.

How to run any executable inside the System32 directory of Windows with C# in WinForms
Learn why applications inside the system32 directory cannot be started easily from your WinForms c# based application and how to start them properly.
How to open the administrative tools directory of Windows in WinForms with C#
Learn how to access the administrative tools directory of Windows with C#
How to solve C# exception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made, ensure that your Main function has STAThreadAttribute marked on it
How to solve the "Current thread must be set to single thread apartment (STA) mode" exception in WinForms C#.
How to solve C# WinForms build exception: ClickOnce does not support the request execution level 'requireAdministrator.'
Learn how to prevent the "ClickOnce does not support the request execution level" exception from appearing in WinForms.
How to force a C# based WinForms applications to run with administrator rights on any environment?
Learn how to force a C# based WinForms application to initialize always with elevated privilegies (administrator rights).
How to determine whether windows update is enabled or not with C# in WinForms
Learn how to know if the windows update service is enabled in the system or not.
How to identify (detect and name) the antivirus software installed on the PC with C# on WinForms
Learn how to get the name of the active antivirus of your operative System in your Windows Forms application using C#.
How to convert an Unixtime to DateTime class and viceversa in C#
Learn how to convert a unixtime to an instance of the DateTime class and a DateTime class to a unixtime in C#
How to take snapshots with the web camera with C# using the OpenCVSharp library in WinForms
Learn how to install and use the OpenCVSharp library to access the web camera on your WinForms application.
How to create barcode images from a string with different formats with C# using the barcodelib library in WinForms
Learn how to create different formats of Barcodes with the barcodelib library in C#