Azure Code Samples

Learn to interact with Azure services through code

6 code samples match your filter

Using MIP SDK with ASP.NET to Label Files on Download

This project demonstrates using the Microsoft Information Protection SDK to apply an MIP label to an Excel file generated by an ASP.NET application.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019

MipSdk-Dotnet-File-ServicePrincipalAuth

This sample application demonstrates using a service principal to authenticate to the MIP service, fetch policy, and label a file.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019

MipSdk-Dotnet-File-Quickstart

This sample application demonstrates using the Microsoft Information Protection SDK .NET wrapper to label and read a label from a file.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019

MipSdk-FileApi-Cpp-Sample-Basic

This sample demonstrates using the Microsoft Information Protection SDK to list labels available to a user, apply a label to a user-provided file, then to read the label from the file and display the result.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019

MipSdk-ProtectionApi-Cpp-Sample-Basic

This sample application demonstrates using the Microsoft Information Protection SDK Protection API to obtain a publishing license, encrypt a plaintext string using the PL, then decrypt the ciphertext using the PL.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019

MipSdk-PolicyApi-Cpp-Sample-Basic

The sample demonstrates using the Microsoft Information Protection Policy API to list all available labels for a user, then computes the actions the selected labels should take, displaying the actions.

Azure-Samples by Tom Moser,
Last updated: 9/13/2019