Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFFile.FileSize Property

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFFile.FileSize Property
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: Int64
Returns 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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in