AFFile.FileSize Property
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- Developer
The size of the current file in bytes.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public long FileSize { get; }
Public ReadOnly Property FileSize As Long Get Dim instance As AFFile Dim value As Long value = instance.FileSize
public: property long long FileSize { long long get (); }
member FileSize : int64 with get
Property Value
Type: Int64Returns the size of the current file in bytes. This property is set when one of the Upload Overload methods saves the file to the server.