FileHandler.GetSerializedPublishingLicense Method

Definition

Overloads

GetSerializedPublishingLicense(String, MipContext)

Return Publishing License if file has it.

GetSerializedPublishingLicense(Stream, String, MipContext)

Return Publishing License if file has it.

GetSerializedPublishingLicense(String, MipContext, Object)

Return Publishing License if file has it.

GetSerializedPublishingLicense(Stream, String, MipContext, Object)

Return Publishing License if file has it.

GetSerializedPublishingLicense(String, MipContext)

Return Publishing License if file has it.

public static System.Collections.Generic.List<byte> GetSerializedPublishingLicense (string filePath, Microsoft.InformationProtection.MipContext mipContext);
static member GetSerializedPublishingLicense : string * Microsoft.InformationProtection.MipContext -> System.Collections.Generic.List<byte>
Public Shared Function GetSerializedPublishingLicense (filePath As String, mipContext As MipContext) As List(Of Byte)

Parameters

filePath
String
mipContext
MipContext

Returns

Applies to

GetSerializedPublishingLicense(Stream, String, MipContext)

Return Publishing License if file has it.

public static System.Collections.Generic.List<byte> GetSerializedPublishingLicense (System.IO.Stream inputStream, string inputFileName, Microsoft.InformationProtection.MipContext mipContext);
static member GetSerializedPublishingLicense : System.IO.Stream * string * Microsoft.InformationProtection.MipContext -> System.Collections.Generic.List<byte>
Public Shared Function GetSerializedPublishingLicense (inputStream As Stream, inputFileName As String, mipContext As MipContext) As List(Of Byte)

Parameters

inputStream
Stream
inputFileName
String
mipContext
MipContext

Returns

Applies to

GetSerializedPublishingLicense(String, MipContext, Object)

Return Publishing License if file has it.

public static System.Collections.Generic.List<byte> GetSerializedPublishingLicense (string filePath, Microsoft.InformationProtection.MipContext mipContext, object logContext = default);
static member GetSerializedPublishingLicense : string * Microsoft.InformationProtection.MipContext * obj -> System.Collections.Generic.List<byte>
Public Shared Function GetSerializedPublishingLicense (filePath As String, mipContext As MipContext, Optional logContext As Object = Nothing) As List(Of Byte)

Parameters

filePath
String
mipContext
MipContext
logContext
Object

Logger context that will be opaquely passed to the logger delegate

Returns

Applies to

GetSerializedPublishingLicense(Stream, String, MipContext, Object)

Return Publishing License if file has it.

public static System.Collections.Generic.List<byte> GetSerializedPublishingLicense (System.IO.Stream inputStream, string inputFileName, Microsoft.InformationProtection.MipContext mipContext, object logContext = default);
static member GetSerializedPublishingLicense : System.IO.Stream * string * Microsoft.InformationProtection.MipContext * obj -> System.Collections.Generic.List<byte>
Public Shared Function GetSerializedPublishingLicense (inputStream As Stream, inputFileName As String, mipContext As MipContext, Optional logContext As Object = Nothing) As List(Of Byte)

Parameters

inputStream
Stream
inputFileName
String
mipContext
MipContext
logContext
Object

Logger context that will be opaquely passed to the logger delegate

Returns

Applies to