Skip to content

Reference

OpcFileInfo Class

Provides a default implementation of the IOpcFileInfo interface representing a FileInfo for the use in OPC UA.

Reference

OpcFileInfo Class ​

since v2.16

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcFileInfo Members

Provides a default implementation of the IOpcFileInfo interface representing a FileInfo for the use in OPC UA.

Syntax ​

csharp
public class OpcFileInfo
vbnet
Public Class OpcFileInfo

Inheritance ​

Object → OpcFileInfo

Implements ​

Constructors ​

NameDescription
OpcFileInfo2 overloadsInitializes a new instance of the OpcFileInfo class with the filePath specified.

Properties ​

NameDescription
ExistsGets a value indicating whether a file exists.
IsReadOnlyvirtualGets or sets a value that determines if the current file is read only.
LengthGets the size, in bytes, of the current file.
UnderlyingFileInfoGets the underlying FileInfo used by the current OpcFileInfo.

Methods ​

NameDescription
GetMimeTypeDetermines the internet media type (mime- or content-type) of the file.
OpenvirtualOpens a file in the specified mode.
OpenCoreprotected · virtual · since v2.17Opens the underlying file info with the specified mode, access, and share.
RefreshRefreshes the state of the object.

Applies to ​

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