Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcFileInfo interface defines the following members.
Gets a value indicating whether a file exists.
C#
bool Exists { get; }
Property Value
The value true if the file exists; false if the file does not exist.
Gets or sets a value that determines if the current file is read only.
C#
bool IsReadOnly { get; }
Property Value
The value true if the current file is read only; otherwise the value false.
Gets the size, in bytes, of the current file.
C#
long Length { get; }
Property Value
The size of the current file in bytes.
Determines the internet media type (mime- or content-type) of the file.
C#
string GetMimeType()
Returns
The type name according to the specification of multipurpose internet mail extensions (MIME) of the file represented.
Opens a file in the specified mode.
C#
Stream Open(OpcFileMode mode)
Parameters
mode
OpcFileMode
A OpcFileMode value specifying the mode in which to open the file.
Returns
A file opened in the specified mode.
Exceptions
The file mode
specified is invalid.
Refreshes the state of the object.
C#
void Refresh()
Exceptions
A device such as a disk drive is not ready.