EncryptedPackageEnvelope.Open Method (String, FileAccess, FileShare)

 

Open the encrypted package in the specified file and gives it the specified access and sharing.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public static EncryptedPackageEnvelope Open(
	string envelopeFileName,
	FileAccess access,
	FileShare sharing
)

Parameters

envelopeFileName
Type: System.String

The file containing the encrypted package.

access
Type: System.IO.FileAccess

The type of access.

sharing
Type: System.IO.FileShare

The type of sharing.

The file must have an encrypted package.

.NET Framework
Available since 3.0
Return to top
Show: