Page 1 of 1

.NET Framework Windows Shell Extensions

Posted: Wed Jun 06, 2012 3:56 am
by Click16
Hey everyone. So I gave making Windows Shell Extensions in Unmanaged C++ a try, and I was feeling quite overwhelmed. So I did a bit of research and it turns out that Microsoft allowed .NET Framework 4 to work with the Windows Shell without the risk that prior versions of .NET had.

While I give making these shell extensions a try, I want you guys to test. If you don't want to you don't have to, but it helps me develop better.

RegAsm UI is a small program I quickly made to make it easier to register and unregister .NET assemblies.
RegAsm UI.zip
.NET Framework Assembly Registrant Software
(24.26 KiB) Downloaded 450 times
About registration of assemblies:
In the .NET Framework 4 Folder (%windir%\Microsoft.NET\Framework(64)\v4.0.30319) there is an executable called "regasm.exe." This is used to register the assemblies. My program makes it easier to utilize regasm.exe. You can run regasm in command prompt like so:

To register an assembly:

Code: Select all

%windir%\Microsoft.NET\Framework(64)\v4.0.30319\regasm.exe AssemblyExample.dll /codebase
To unregister an assembly:

Code: Select all

%windir%\Microsoft.NET\Framework(64)\v4.0.30319\regasm.exe AssemblyExample.dll /u
Be sure to remove (x64) if you don't have a 64-bit version of Windows installed. If you do have 64-bit, just change "Framework(64)" to "Framework64"

I am going to post my Shell Extensions here, and I would like you guys to register them and try them out. Be sure to unregister them as soon as you are done.

-------

Context Menu Extension Test


Image
.NET Context Menu Extension.zip
Context Menu Shell Extension
(23.01 KiB) Downloaded 444 times
-------

Check File Hashes

Image
Image

Issues:
CRC 32 doesn't seem to work...
Check File Hashes.zip
Check File Hashes Shell Extension
(33.29 KiB) Downloaded 444 times

Re: .NET Framework Windows Shell Extensions

Posted: Wed Jun 06, 2012 7:11 am
by troymac1ure
Yep. It's a virus. Formatting my computer right now as I'm typ

EDIT: Nevermind. I mean it worked fine on XP 32-bit.

Re: .NET Framework Windows Shell Extensions

Posted: Wed Jun 06, 2012 7:11 pm
by Click16
troymac1ure wrote:Yep. It's a virus. Formatting my computer right now as I'm typ

EDIT: Nevermind. I mean it worked fine on XP 32-bit.
Cool

Re: .NET Framework Windows Shell Extensions

Posted: Thu Jun 07, 2012 12:19 am
by OwnZ joO
Make something for checking hashes for files

Re: .NET Framework Windows Shell Extensions

Posted: Thu Jun 07, 2012 12:22 am
by Click16
OwnZ joO wrote:Make something for checking hashes for files
What's that?

Re: .NET Framework Windows Shell Extensions

Posted: Thu Jun 07, 2012 12:39 am
by troymac1ure

Re: .NET Framework Windows Shell Extensions

Posted: Fri Jun 08, 2012 1:47 am
by OwnZ joO
Yes like troy linked to. I think I have installed that one in the past actually. Something to verify that a file has not been corrupted during download(crc), and something to verify that a file has not been tampered with(sha1).

Re: .NET Framework Windows Shell Extensions

Posted: Fri Jun 08, 2012 3:45 am
by Click16
OwnZ joO wrote:Yes like troy linked to. I think I have installed that one in the past actually. Something to verify that a file has not been corrupted during download(crc), and something to verify that a file has not been tampered with(sha1).
Is this what you mean by CRC?
http://www.codeproject.com/Articles/351 ... e-CRC-in-C

Is this SHA1?
http://msdn.microsoft.com/en-us/library ... .sha1.aspx

Re: .NET Framework Windows Shell Extensions

Posted: Fri Jun 08, 2012 5:29 am
by Click16
Based on what you told me Ownz, I quickly put together the Check File Hashes extension. I will work on it more, but I just wanted to release something today.