Blog Post

Microsoft Security Community Blog
2 MIN READ

Microsoft Information Protection SDK 1.9: Now Available!

Tom_Moser's avatar
Tom_Moser
Icon for Microsoft rankMicrosoft
May 03, 2021

We're pleased to announce that the Microsoft Information Protection SDK version 1.9 is now generally available via NuGet and Download Center.

 

Highlights

In this release of the Microsoft Information Protection SDK, we've focused on quality updates, enhancing logging scenarios, and several internal updates.

 

  • Full support for CentOS 8 (native only).
  • When using custom LoggerDelegate you can now pass in a logger context. This context will be written to your log destination, enabling easier correlation and troubleshooting between your apps and services and the MIP SDK logs.
    • The following APIs support providing the logger context:
      • LoggerDelegate::WriteToLogWithContext
      • TaskDispatcherDelegate::DispatchTask or ExecuteTaskOnIndependentThread
      • FileEngine::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • FileProfile::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • ProtectionEngine::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • ProtectionProfile::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • PolicyEngine::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • PolicyProfile::Settings::SetLoggerContext(const std::shared_ptr<void>& loggerContext)
      • FileHandler::IsProtected()
      • FileHandler::IsLabeledOrProtected()
      • FileHanlder::GetSerializedPublishingLicense()
      • PolicyHandler::IsLabeled()

 

Bug Fixes

  • Fixed a memory leak when calling mip::FileHandler::IsLabeledOrProtected().
  • Fixed a bug where failure in FileHandler::InspectAsync() called incorrect observer.
  • Fixed a bug where SDK attempted to apply co-authoring label format to Office formats that don't support co-authoring (DOC, PPT, XLS).
  • Fixed a crash in the .NET wrapper related to FileEngine disposal. Native PolicyEngine object remained present for some period and would attempt a policy refresh, resulting in a crash.
  • Fixed a bug where the SDK would ignore labels applied by older versions of AIP due to missing SiteID property.

For a full list of changes to the SDK, please review our change log.

 

Updated May 11, 2021
Version 5.0

5 Comments

  • FM6374's avatar
    FM6374
    Copper Contributor

    Hello Tom_Moser 

    Need your help. My team and I are encountering a serious issue with this new version, let me explain: the sdk c # Microsoft.InformationProtection.File has an error which crashes our application with a seg fault introduced in version 1.9.90. In our investigation, it is the "InspectAsync ()" function of the FileHandler class which crashes. Have you heard of this problem?

     

     

  • sijopoulose's avatar
    sijopoulose
    Copper Contributor

    The static library file "libmat.a" is not bitcode enabled in MIP 1.9 iOS SDK.

     

    Download file File: mip_sdk_ios_1.9.78.tar.gz

    File paths:

    upe/bins/debug/arm64/libmat.a

    upe/bins/debug/x86_64/libmat.a

    upe/bins/release/arm64/libmat.a

     

    Please update the file in latest SDK. Thanks

  • kan_kan_kk's avatar
    kan_kan_kk
    Copper Contributor

    pom.xml is not resolving following class files

    import com.microsoft.informationprotection.AuditEvent;
    import com.microsoft.informationprotection.EnableAuditSetting;
    import com.microsoft.informationprotection.EventProperty;
    import com.microsoft.informationprotection.IAuditDelegate;

    Please do let me know wht is wrong here