AFFile.FileSize Property
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
The size of the current file in bytes.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.