Skip to content

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 : Stream
vbnet
Public Class OpcFileStream
    Inherits Stream

Inheritance ​

Object → MarshalByRefObject → Stream → OpcFileStream

Implements ​

Constructors ​

NameDescription
OpcFileStream3 overloadsInitializes a new instance of the OpcFileStream class using the specified file and mode.

Properties ​

NameDescription
CanReadoverrideGets a value indicating whether the current stream supports reading.
CanSeekoverrideGets a value indicating whether the current stream supports seeking.
CanWriteoverrideGets a value indicating whether the current stream supports writing.
FileGets the OpcFileInfo used to determine the file accessibility and its size.
HandleGets a SafeOpcFileHandle object that represents the file handle for the file that the current OpcFileStream object encapsulates.
LengthoverrideGets the length in bytes of the stream.
PositionoverrideGets or sets the position within the current stream.

Methods ​

NameDescription
CloseoverrideCloses the current stream and releases any resources associated with the current stream.
FlushoverrideClears all buffers for this stream and causes any buffered data to be written to the underlying device.
ReadoverrideReads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
SeekoverrideSets the position within the current stream.
SetLengthoverrideSets the length of the current stream.
WriteoverrideWrites 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 ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59