Latest posts

passwordTextBox

C# Protect the Password inside a TextBox
( May 4th, 2013 Miscellaneous | )

First of all, the TextBox Control is not a secure way to hold passwords – so don’t use it as it is by default. Even with a PasswordChar, the real ...


ascii

C# Ascii Art Tutorial
( April 18th, 2013 Files | )

If you got here, you probably want to know how Ascii Art works and how to use C# to transform images into text. We’ll do this by making good use ...


dpapi

C# Safe Encryption/Decryption using DPAPI
( April 11th, 2013 Miscellaneous | )

Data Protection API aka DPAPI is a neat service provided by Windows Operating Systems (newer than Windows 2000) that safely encrypts and decrypts user credentials, using the Triple-DES algorithm. You ...


ProtocolArgument

C# Register a Url Protocol
( March 22nd, 2013 Miscellaneous | )

This tutorial will show you how to register a custom Url Protocol for your application. Basically, you can control your application by simply clicking an Url address like this one: ...


rtbcontrol

C# Synchronize 2 RichTextBoxes’s Scroll
( March 17th, 2013 Interface | )

I recently had a problem when I tried to synchronize the scrolling between 2 RichTextBoxes – that was because these controls behave different than normal TextBoxes. However I managed to ...