NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CryptoFileStream Constructor (String, FileMode)

Create a new instance of cryptographic file stream.

[Visual Basic]
Overloads Public Sub New( _
   ByVal path As String, _
   ByVal mode As FileMode _
)
[C#]
public CryptoFileStream(
   string path,
   FileMode mode
);
[C++]
public: CryptoFileStream(
   String* path,
   FileMode mode
);
[JScript]
public function CryptoFileStream(
   path : String,
   mode : FileMode
);

Parameters

path
file pathname
mode
[To be supplied.]

Remarks

A new file stream object is created and used as a cryptographic stream object.

Requirements

NGWS Runtime Security:

FileIOPermission access to file required

See Also

CryptoFileStream Class | CryptoFileStream Members | System.Security.Cryptography Namespace | CryptoFileStream Constructor Overload List