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

AF SDK Reference

AFFile.Download Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFFile.Download Method
Downloads the file from the server to a Stream.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public Stream Download()
Public Function Download As Stream

Dim instance As AFFile
Dim returnValue As Stream

returnValue = instance.Download()
public:
Stream^ Download()
member Download : unit -> Stream 

Return Value

Type: Stream
Returns a Stream for the file.

Remarks

If the Owner has been set, then the file is downloaded from the server. If the Owner has not been set, then the buffered file data will be returned.

Version Information

AFSDK


See Also

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