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