C# – Encrypt Message to Text File – Decrypt Message from Text File

Using the Security.Cryptography class, you can encrypt and decrypt files pretty easily. I was experimenting with taking a plaintext message, encrypting that message into a text file, and then reading and decrypting the message. Something that fascinates me is the encryption key is stored and can be extrapolated from the text file. Compiled in Microsoft Read More …

PowerShell – Sandbox Testing App Attach Apps – No WVD Required

Use these steps to test your MSIX VHD, without having to use Windows Virtual Desktop. It’s a great way to make sure your MSIX package and MSIX VHD are working properly, and simulate the installation of an app attach application.   Microsoft Magic The magic behind app attach is a mounted VHD (Mount-Diskimage), a file Read More …

Windows – Install Assemblies

Gacutil.exe allows you to install assemblies into the cache, remove them from the cache, and list the contents of the cache. Gacutil.exe provides options that support reference counting similar to the reference counting scheme supported by Windows Installer. Use the following command to install assemblies: gacutil /if c:\foo\foo.dll   Notes How to: Install an assembly Read More …