Imports/Trinet.Core.IO.Ntfs/Source/AlternateDataStreamInfo.cs
/// <summary>
/// Opens this alternate data stream.
/// </summary>
/// <param name="mode">
/// A <see cref="FileMode"/> value that specifies whether a stream is created if one does not exist, 
/// and determines whether the contents of existing streams are retained or overwritten.
/// </param>
/// <returns>
/// A <see cref="FileStream"/> for this alternate data stream.
/// </returns>
/// <exception cref="SecurityException">
/// The caller does not have the required permission. 
/// </exception>
/// <exception cref="UnauthorizedAccessException">
/// The caller does not have the required permission, or the file is read-only.
/// </exception>
/// <exception cref="IOException">
/// The specified file is in use. 
/// </exception>
/// <exception cref="ArgumentException">
/// The path of the stream is invalid.
/// </exception>
/// <exception cref="Win32Exception">
/// There was an error opening the stream.
/// </exception>
Opens this alternate data stream.
Opens this alternate data stream .
public FileStream Open(FileMode mode)
		{
			FileAccess access = (FileMode.Append == mode) ?	FileAccess.Write : FileAccess.ReadWrite;
			return this.Open(mode, access, FileShare.None, SafeNativeMethods.DefaultBufferSize, false);
		}
public FileStream Open ( FileMode mode ) { FileAccess access = ( FileMode . Append == mode ) ? FileAccess . Write : FileAccess . ReadWrite ; return this . Open ( mode , access , FileShare . None , SafeNativeMethods . DefaultBufferSize , false ) ; }
Opens this alternate data stream.
Opens this alternate data stream .
A  for this alternate data stream.
A for this alternate data stream .
The caller does not have the required permission.
The caller does not have the required permission .
The caller does not have the required permission, or the file is read-only.
The caller does not have the required permission or the file is read - only .
The specified file is in use.
The specified file is in use .
The path of the stream is invalid.
The path of the stream is invalid .
There was an error opening the stream.
There was an error opening the stream .
mode
FileMode
A  value that specifies whether a stream is created if one does not exist,
and determines whether the contents of existing streams are retained or overwritten.
A value that specifies whether a stream is created if one does not exist and determines whether the contents of existing streams are retained or overwritten .