public static string sMachineKeyPathFile(tvProfile aoProfile, X509Certificate2 aoCertificate) { return(Path.Combine(aoProfile.sValue("-MachineKeysPath", @"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys") , HashClass.GetKeyFileName(aoCertificate))); }
public static string sHashIt(tvProfile aoProfile) { return(HashClass.sHashPw(aoProfile.ToString().Substring(0, 256))); }