EncryptedPackageEnvelope.Open Method (String, FileAccess, FileShare)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: