Category Archives: Windows

Everything which related to Windows OS

Renci.SshNet default ConnectionInfo values.

Renci.SshNet.dll was already mentioned in current blog. It is client library to connect to SSH servers for example Linux sshd daemon. Similar as other ssh related software Renci.SshNet.dll has list of default Ciphers, Key Exchange Algorithms, Message Authentication Code and other connection settings. These setting are defined in Renci ConnectionInfo class. It is possible to… Read More »

Get TCP Connection Info of Specific Process using Command Prompt

Why command prompt when a lot GUI application can do it for you? There are several reason. Command line interface better explains matter of things. It is faster and some remote monitoring and management systems provides only command line remote control methods to access to remote devices. The example below shows how to get TCP… Read More »

Dialup ACE

This the second article related to ACL, the first one is “Changing file ACL in Windows programmatically”. Going through WellKnownSidType commonly used security identifiers. I found some which I never heard about and several legacy ones, for example DIALUP. Just for fun I decided to test how this user permission look like in the file… Read More »

FIPS and Remote Desktop Connection

FIPS or Federal Information Processing Standards was developed by US National Institute of Standards and Technology and used widely not only in United Stated. FIPS defines certain specific encryption methods and make to force application to use FIPS-validated encryption schemes. The first time I met problem with FIPS when Windows computer sends smnp v3 request… Read More »

Insidious Process Class or InvalidOperationException

I mean here .Net Process class from System.Diagnostics name space. Suddenly one application which worked for long time begins generate exceptions with the following text message: “Process has exited, so the requested information is not available“. The application was created for some testing purposes, quickly and frankly to say was not implemented well. I added… Read More »

Changing file ACL in Windows programmatically

File (or directory) access control list (ACL) is a bit similar to the file attribute. In the same way ACL specifies file properties related to access to the file. ACL contains records of ACEs (access control entities). Each ACE in an ACL identifies specific access rights for users or groups that allow or deny some… Read More »

Remmina – remote desktop client for Linux

Remmina is free remote desktop client for GNOME desktop environment. It supports different types of remote control for many Linux versions. Remmina is able to display and control a desktop on remote computer. Especially it is possible to use Remmina for Windows Remote Desktop sessions. I found that latest Ubuntu iso destrutions (Ubuntu 16-64 and… Read More »

Configure Console Application through Registry

There are several ways to change console appearance: programmatically and/or using registry setting. When it is done programmatically application care itself about own size, font or colors. Registry settings instruct Windows OS what console properties are applied to application during its startup. The registry approach gives possible to change console presentation without alter the code.… Read More »

Get all windows

Long time ago I mean begining of nineties of the last century I started GUI Windows programming. The first application was based on message loop with 3 main players: GetMessage, TranslateMessage, DispatchMessage. Later higher level graphical interface API such as MFC did not require to write the code of Windows message loop, but application can… Read More »

MSDOS debugger

If you are not familiar how to enable old legacy MSDOS application capabilities on modern Windows OS, it is good to start with “WoW. 16-bit supplication on 32-bit Windows” article. The MS-DOS debugger is portable command line-oriented debugger in operating systems such as MS-DOS and OS/2, Windows (16-bit/32-bit versions only). It is started by DEBUG… Read More »