Reference
OpcFileStream Class
Provides a Stream for a file node.
Reference
OpcFileStream Class
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcFileStream Members
- Also in
- Opc.UaFx.Client
Provides a Stream for a file node.
Syntax
csharp
public class OpcFileStream : Streamvbnet
Public Class OpcFileStream
Inherits StreamInheritance
Object → MarshalByRefObject → Stream → OpcFileStream
Implements
Constructors
| Name | Description |
|---|---|
| OpcFileStream | Initializes a new instance of the OpcFileStream class using the specified file and mode. |
Properties
| Name | Description |
|---|---|
| CanRead | Gets a value indicating whether the current stream supports reading. |
| CanSeek | Gets a value indicating whether the current stream supports seeking. |
| CanWrite | Gets a value indicating whether the current stream supports writing. |
| File | Gets the OpcFileInfo used to determine the file accessibility and its size. |
| Handle | Gets a Safe |
| Length | Gets the length in bytes of the stream. |
| Position | Gets or sets the position within the current stream. |
Methods
| Name | Description |
|---|---|
| Close | Closes the current stream and releases any resources associated with the current stream. |
| Flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. |
| Read | Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. |
| Seek | Sets the position within the current stream. |
| SetLength | Sets the length of the current stream. |
| Write | Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. |
Inherits members from Stream, MarshalByRefObject.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

