public static string GetComputerKey() { IdentityStruct p = new IdentityStruct(); if (CheckStatus) { GetIdentity(ref p); } else { return("Unknown"); } return(new string(p.textEncoding)); }
public static uint GetComputerCode() { IdentityStruct p = new IdentityStruct(); if (CheckStatus) { GetIdentity(ref p); } else { return(0); } return(p.hash); }
private static extern void GetIdentity(ref IdentityStruct p);