อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


FileHandler.IsProtected Method

Definition

Overloads

IsProtected(String, MipContext)

Checks whether a file is protected or not.

IsProtected(Stream, String, MipContext)

Checks whether a stream is protected or not.

IsProtected(String, MipContext, Object)

Checks whether a file is protected or not.

IsProtected(Stream, String, MipContext, Object)

Checks whether a stream is protected or not.

IsProtected(String, MipContext)

Checks whether a file is protected or not.

C#
public static bool IsProtected (string filePath, Microsoft.InformationProtection.MipContext mipContext);

Parameters

filePath
String

The file path

mipContext
MipContext

Returns

Applies to

Microsoft.InformationProtection 1.8.94 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
Microsoft.InformationProtection 1.6.152, 1.7.133, 1.8.94

IsProtected(Stream, String, MipContext)

Checks whether a stream is protected or not.

C#
public static bool IsProtected (System.IO.Stream inputStream, string inputFileName, Microsoft.InformationProtection.MipContext mipContext);

Parameters

inputStream
Stream
inputFileName
String
mipContext
MipContext

Returns

Applies to

Microsoft.InformationProtection 1.8.94 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
Microsoft.InformationProtection 1.6.152, 1.7.133, 1.8.94

IsProtected(String, MipContext, Object)

Checks whether a file is protected or not.

C#
public static bool IsProtected (string filePath, Microsoft.InformationProtection.MipContext mipContext, object logContext = default);

Parameters

filePath
String

The file path

mipContext
MipContext
logContext
Object

Logger context that will be opaquely passed to the logger delegate

Returns

Applies to

Microsoft.InformationProtection 1.16.126 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
Microsoft.InformationProtection 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126

IsProtected(Stream, String, MipContext, Object)

Checks whether a stream is protected or not.

C#
public static bool IsProtected (System.IO.Stream inputStream, string inputFileName, Microsoft.InformationProtection.MipContext mipContext, object logContext = default);

Parameters

inputStream
Stream
inputFileName
String
mipContext
MipContext
logContext
Object

Logger context that will be opaquely passed to the logger delegate

Returns

Applies to

Microsoft.InformationProtection 1.16.126 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
Microsoft.InformationProtection 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126