Microsoft.Security.CodeIntegrity
1.5.0
Prefix Reserved
Requires NuGet 2.5 or higher.
dotnet add package Microsoft.Security.CodeIntegrity --version 1.5.0
NuGet\Install-Package Microsoft.Security.CodeIntegrity -Version 1.5.0
<PackageReference Include="Microsoft.Security.CodeIntegrity" Version="1.5.0" />
<PackageVersion Include="Microsoft.Security.CodeIntegrity" Version="1.5.0" />
<PackageReference Include="Microsoft.Security.CodeIntegrity" />
paket add Microsoft.Security.CodeIntegrity --version 1.5.0
#r "nuget: Microsoft.Security.CodeIntegrity, 1.5.0"
#:package Microsoft.Security.CodeIntegrity@1.5.0
#addin nuget:?package=Microsoft.Security.CodeIntegrity&version=1.5.0
#tool nuget:?package=Microsoft.Security.CodeIntegrity&version=1.5.0
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();
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Microsoft.Bcl.Cryptography (>= 10.0.0-rc.2.25502.107)
- Microsoft.PowerShell.5.1.ReferenceAssemblies (>= 1.0.0)
- System.Buffers (>= 4.6.1)
- System.Formats.Asn1 (>= 10.0.0-rc.2.25502.107)
- System.Memory (>= 4.6.3)
- System.Net.Http (>= 4.3.4)
- System.Numerics.Vectors (>= 4.6.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Encoding (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 10.0.0-rc.2.25502.107)
- System.Security.Cryptography.Primitives (>= 4.3.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.ValueTuple (>= 4.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.