/// <summary>Gets the private key XML string from Strong Name Key (.snk) stream.</summary> /// <param name="stream">The stream of .snk file.</param> /// <returns>The private key XML string.</returns> public static string PrivateKeyXmlFromSnkFile(Stream stream) { return(LicenseManager.PrivateKeyXmlFromSnkFile(stream)); }
/// <overloads>Gets the private key XML string from Strong Name Key (.snk) file or stream.</overloads> /// <summary>Gets the private key XML string from Strong Name Key (.snk) file.</summary> /// <param name="snkFilePath">Full path and name of the .snk file.</param> /// <returns>The private key XML string.</returns> public static string PrivateKeyXmlFromSnkFile(string snkFilePath) { return(LicenseManager.PrivateKeyXmlFromSnkFile(snkFilePath)); }