[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=MarshalByRefObject,Object,FileStream Info=Exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations. [Property] Name=Sets the name of the component. ARG(string)|2| +Path=Sets a relative or absolute path for the file that the current FileStream object will encapsulate. ARG(string)|2| BufferSize=Sets a positive Int32 value greater than 0 indicating the buffer size. ARG(int)|1|0 Mode=Sets how the operating system should open a file. ARG(FileMode)|14|0|Open,OpenOrCreate,Create,CreateNew,Append,Truncate Access=Sets constants for read, write, or read/write access to a file. ARG(FileAccess)|20|(empty)|FileAccess Share=Sets constants for controlling the kind of access other FileStream objects can have to the same file. ARG(FileShare)|20|(empty)|FileShare Options=Sets a value that specifies additional file options. ARG(FileOptions)|20|(empty)|FileOptions OwnsHandle=Sets a value indicating that the file handle will be owned by this instance of FileStream. ARG(bool)|14|1|true,false UseAsync=Sets whether to use asynchronous I/O. |14|1|true,false Rights=Sets a constant that determines the access rights to use when creating access and audit rules for the file. ARG(FileSystemRights)|20|(empty)|FileSystemRights Security=Sets the access control and audit security for the file. ARG(FileSecurity)|20|(empty)|FileSecurity Constructor=Sets the Constructor of the FileStream class. ARG(enum)|14|0|None,Constructor,Constructor2,Constructor3,Constructor4,Constructor5,Constructor6,Constructor7,Constructor8,Constructor9,Constructor10,Constructor11,Constructor12,Constructor13,Constructor14,Constructor15 [Methods] *doConstructor=Obsolete. Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission. ARG(IntPtr handle, FileAccess access)|1|0 *doConstructor2=Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission. ARG(SafeFileHandle handle, FileAccess access)|1|0 doConstructor3=Initializes a new instance of the FileStream class with the specified path and creation mode. ARG(string path, FileMode mode)|1|0 *doConstructor4=Obsolete. Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission and FileStream instance ownership. ARG(IntPtr handle, FileAccess access, bool ownsHandle)|1|0 *doConstructor5=Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, and buffer size. ARG(SafeFileHandle handle, FileAccess access, int bufferSize)|1|0 *doConstructor6=Initializes a new instance of the FileStream class with the specified path, creation mode, and read/write permission. ARG(string path, FileMode mode, FileAccess access)|1|0 *doConstructor7=Obsolete. Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, and buffer size. ARG(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)|1|0 *doConstructor8=Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, buffer size, and synchronous or asynchronous state. ARG(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync)|1|0 *doConstructor9=Initializes a new instance of the FileStream class with the specified path, creation mode, read/write permission, and sharing permission. ARG(string path, FileMode mode, FileAccess access, FileShare share)|1|0 *doConstructor10=Obsolete. Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, buffer size, and synchronous or asynchronous state. ARG(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync)|1|0 *doConstructor11=Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, and buffer size. ARG(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)|1|0 *doConstructor12=Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state. ARG(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)|1|0 *doConstructor13=Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options. ARG(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)|1|0 *doConstructor14=Initializes a new instance of the FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, and additional file options. ARG(string path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options)|1|0 *doConstructor15=Initializes a new instance of the FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. ARG(string path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options, FileSecurity fileSecurity)|1|0 doClose=Closes the current stream and releases any resources associated with the current stream. ARG()|1|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *CanRead=Returns a value indicating whether the current stream supports reading. ARG(bool)|3|104 *CanSeek=Returns a value indicating whether the current stream supports seeking. ARG(bool)|3|104 *CanWrite=Returns a value indicating whether the current stream supports writing. ARG(bool)|3|104 *GetAccessControl=Gets a FileSecurity object that encapsulates the access control list entries for the file described by the current FileStream object. ARG(FileSecurity)|3|0 *Handle=Obsolete. Gets the operating system file handle for the file that the current FileStream object encapsulates. ARG(IntPtr)|3|0 *IsAsync=Returns a value indicating whether the FileStream was opened asynchronously or synchronously. ARG(bool)|3|104 *Length=Returns the length in bytes of the stream. ARG(long)|3|105 *Name=Returns the name of the FileStream that was passed to the constructor. ARG(string)|3|2 *SafeFileHandle=Returns a SafeFileHandle object that represents the operating system file handle for the file that the current FileStream object encapsulates. ARG(SafeFileHandle)|3|0 FileStream=Returns the FileStream object. ARG(FileStream)|3|0 Path=Defines a relative or absolute path for the file that the current FileStream object will encapsulate. ARG(string)|4|2 *access=Defines a constant that sets the CanRead and CanWrite properties of the FileStream object. ARG(FileAccess)|4|0 *bufferSize=Defines a positive Int32 value greater than 0 indicating the buffer size. For bufferSize values between one and eight, the actual buffer size is set to eight bytes. ARG(int)|4|1 *handle=Defines a file handle for the file that the current FileStream object will encapsulate. ARG(SafeFileHandle||IntPtr)|4|0 *useAsync=Defines whether to use asynchronous I/O. ARG(bool)|4|104 Mode=Defines a constant that determines how to open or create the file. ARG(FileMode)|4|0 *options=Defines a value that specifies additional file options. ARG(FileOptions)|4|0 *ownsHandle=true if the file handle will be owned by this FileStream instance; otherwise, false. ARG(bool)|4|104 *rights=Defines a constant that determines the access rights to use when creating access and audit rules for the file. ARG(FileSystemRights)|4|0 *security=Defines the access control and audit security for the file. ARG(FileSecurity)|4|0 *share=Defines a constant that determines how the file will be shared by processes. ARG(FileShare)|4|0