Microsoft.Purview.SDK
0.1.2
Prefix Reserved
dotnet add package Microsoft.Purview.SDK --version 0.1.2
NuGet\Install-Package Microsoft.Purview.SDK -Version 0.1.2
<PackageReference Include="Microsoft.Purview.SDK" Version="0.1.2" />
<PackageVersion Include="Microsoft.Purview.SDK" Version="0.1.2" />
<PackageReference Include="Microsoft.Purview.SDK" />
paket add Microsoft.Purview.SDK --version 0.1.2
#r "nuget: Microsoft.Purview.SDK, 0.1.2"
#:package Microsoft.Purview.SDK@0.1.2
#addin nuget:?package=Microsoft.Purview.SDK&version=0.1.2
#tool nuget:?package=Microsoft.Purview.SDK&version=0.1.2
Microsoft Purview SDK
The Microsoft Purview SDK is a .NET client library for data classification, labeling, policy evaluation, and content processing services.
Features
The SDK provides methods for integrating with Microsoft Purview's data security and governance capabilities, including content classification, sensitivity labeling, protection scope evaluation, and activity signal upload.
Installation
dotnet add package Microsoft.Purview.SDK
Target Frameworks
| Framework | Supported | AOT Compatible |
|---|---|---|
net8.0 |
✅ | ✅ Native AOT & trimming |
netstandard2.0 |
✅ | — |
The package multi-targets netstandard2.0 and net8.0. When consumed from a net8.0 project, the SDK is fully compatible with PublishAot=true and PublishTrimmed=true.
AOT & Trimming Support
The SDK uses compile-time source-generated serialization — no runtime reflection is required. Applications targeting net8.0 can publish as Native AOT with zero trim/AOT warnings from the SDK.
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<PublishAot>true</PublishAot>
</PropertyGroup>
dotnet publish -c Release
API Reference
For a detailed list of available APIs, parameters, and usage, see API_REFERENCE.md.
Requirements
- .NET 8.0 (recommended, AOT-compatible) or .NET Standard 2.0+
- A valid Microsoft Purview license and Azure AD app registration
Documentation
For more information, visit the Microsoft Purview documentation.
License
© Microsoft Corporation. All rights reserved. See the LICENSE.txt file in the package for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Azure.Core (>= 1.35.0)
- Azure.Storage.Blobs (>= 12.19.0)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Caching.Memory (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Microsoft.Extensions.Options (>= 7.0.1)
- Microsoft.Identity.Client (>= 4.78.0)
- Microsoft.Identity.Client.Extensions.Msal (>= 4.61.3)
- OpenTelemetry (>= 1.6.0)
- OpenTelemetry.Api (>= 1.6.0)
- OpenTelemetry.Extensions.Hosting (>= 1.6.0)
- Polly (>= 7.2.4)
- System.Diagnostics.DiagnosticSource (>= 7.0.2)
- System.IdentityModel.Tokens.Jwt (>= 7.1.2)
- System.Runtime.Caching (>= 6.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Channels (>= 8.0.0)
-
net8.0
- Azure.Core (>= 1.35.0)
- Azure.Storage.Blobs (>= 12.19.0)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Caching.Memory (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Microsoft.Extensions.Options (>= 7.0.1)
- Microsoft.Identity.Client (>= 4.78.0)
- Microsoft.Identity.Client.Extensions.Msal (>= 4.61.3)
- OpenTelemetry (>= 1.6.0)
- OpenTelemetry.Api (>= 1.6.0)
- OpenTelemetry.Extensions.Hosting (>= 1.6.0)
- Polly (>= 7.2.4)
- System.Diagnostics.DiagnosticSource (>= 7.0.2)
- System.IdentityModel.Tokens.Jwt (>= 7.1.2)
- System.Runtime.Caching (>= 6.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Channels (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.