EncryptedPackageEnvelope.Open Method (String, FileAccess)

 
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 as unshared and with the specified access.

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

public static EncryptedPackageEnvelope Open(
	string envelopeFileName,
	FileAccess access
)

Parameters

envelopeFileName
Type: System.String

The file containing the encrypted package.

access
Type: System.IO.FileAccess

The type of access.

The file must have an encrypted package.

The opened file is unshared.

.NET Framework
Available since 3.0
Return to top
Show: