Sign in Sign up
nuget

Microsoft.Security.CodeIntegrity

This assembly contains a collection of functions used to collect information about binary-form Windows Defender Application Control policies. This assembly is officially supported only for Windows Server editions, versions 2016 and above. Usage examples: // Parse an XML file and convert it to binary // Create a FileStream and MemoryStream FileStream xmlInputFile = null; MemoryStream binaryOutputStream = null; try { xmlInputFile = new FileStream(xmlFilePath, FileMode.Open, FileAccess.Read); binaryOutputStream = new MemoryStream(); // Call ConvertFromCodeIntegrityPolicy to convert XML to binary Microsoft.Security.CodeIntegrity.Policy.ConvertFromCodeIntegrityPolicy(xmlInputFile, binaryOutputStream); // Write to binary file File.WriteAllBytes(binaryFilePath, binaryOutputStream.ToArray()); // Write out binary file // [code] } catch { throw new Exception(); }

nuget View on Nuget

Activity

Latest release
19h ago
Total releases
16
Cadence
~21 days
Last 12 months
13

Details

License
MIT
First release
Jul 18, 2019
Releases
Version Released
3.1.4 patch
3.1.3 patch
3.1.2 patch
3.1.1 patch
3.1.0 minor
3.0.0 major
2.1.0 minor
2.0.0 major
1.5.1 patch
1.5.0 minor
1.3.0 minor
1.2.1 patch
1.2.0 minor
1.1.0 minor
1.0.1 patch
1.0.0 initial