public bool Load() { return(MetaUtility.GetAssemblyData( FilePath, ref cliHeaderFlag, ref cliHeaderFlagOffset, ref strongNameSignatureOffset, ref publicKeyIndexOffset, ref publicKeyOffset, ref assemblyFlag, ref assemblyFlagOffset, ref compiledRuntimeVersion, ref assemblyReferences, ref blobIndexSize, getSigOnly: true)); }
public bool RemoveSignature() { if (!MetaUtility.IsAssemblyStrongSigned(cliHeaderFlag)) { return(false); } return(MetaUtility.PatchAssemblyStrongSigning( FilePath, cliHeaderFlag, cliHeaderFlagOffset, strongNameSignatureOffset, publicKeyIndexOffset, assemblyFlag, assemblyFlagOffset, blobIndexSize, removePublicKey: false)); }