c# – accessig application configuration file using ConfigurationManager

Using configuration file is pretty straightforward. First  add to your application references Assembly System.Configuration. ConfigurationManager provides access to configuration files for client applications, It makes sense to encapsulate configuration settings read and write to special methods.  

To add or update use AddUpdateAppSettings:

For read use ReadSetting. In this sample we provide also default values so in case… Read More »

5 cent hint – Unix timestamp to c# datetime

If you need to covert Unix timestamp  to DateTime then here it is:  


How to fire up Windows 3.1, 95, 98 and XP on your Raspberry Pi

Remember when Windows 98 needed a computer costing $1,000+ to run comfortably? Almost 20 years later, the early Microsoft OS runs on a computer that sells for just $25 and that is so small it fits on your wrist. This Raspberry Pi-powered, Windows 98 wristwatch is a project by amateur technology enthusiast 314Reactor. This article… Read More »

5 cent hint – Xamarin and Your Java version (1.7.0) is too old error

If you get after Xamarin update building error “Project  cannot build using Android 7.0 (API Level 24 – Nougat) because Your Java version (1.7.0) is too old. You must have at least 1.8 installed. Please install it or set Java Development Kit path for Oracle 1.8+ on Tools->Options->Xamarin->Android Settings menu.” then Install Java SDK version… Read More »

HTTP Error 404.3 while browsing wcf service

How to fix HTTP Error 404.3 – Not Found error  while browsing wcf service on Windows Server 2012 R2 Symptoms :   Solution: From the Server Manager, click on Add roles and features   Select the appropriate server Then select Features. Under .NET Framework 4.5 Features, you’ll see WCF Services, and under that, you’ll find… Read More »

How to change HP Photosmart 7520 series printer location ip address

Recently I lost connection to my HP Photosmart 7520 printer. Little investigation showed that printer’s IP address was changed. Printer was connected via WiFi. The current IP address can be looked up on WiFi settings page: In Windows 10 printer can be found under Settings -> Devices -> Printers & Scanners Clicking on device will bring up… Read More »

How to create Windows 7 or Vista USB flash install disk

1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system. 2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights. 2.1 Type cmd in Start menu search box and hit Ctrl+… Read More »

c# – Get Product Version and Assembly Version of external application

Sometimes it is needed to know version of external application’s  Product Version or Assembly Version. It is actually very easy task.

As not version information parts might not be present the try-catch is a must. On other hand there is nothing to do if error occurs, so it is just ignored. Now we set version info… Read More »