can someone please help me convert the following powershell script file to c#?
some of it i understand; however, there are a few things that i don't understand. i commented some stuff out (registry and active directory stuff - i know how to do this in c#). the one function in the script is OctetToHours - this is where i need the help.
Thank you very much.