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

AF SDK Reference

AFConnectionInfo Properties

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFConnectionInfo Properties

The AFConnectionInfo type exposes the following members.

Properties

  NameDescription
Public property
AccountName
This property is the account name that the PI AF Server for this PISystem is executing under.
Public property
AuthenticationType
Read-only property that returns the Authentication Type used by the server. On older servers this will return string.empty .
Public propertyStatic member
DefaultPreference
The default connection preference to be used when attempting to connect to a member in an AFCollective.
Public property
Expiration
Read-only property that returns the Token Expiration used by OpenID connections to the AF server. For windows connections, this will return DateTime.MinValue. For openId connections, this will return the access token expiration.
Public property
Host
This property is the name of the host machine where the PI AF Server for this PISystem is executing.
Public property
IdleTimeout
Read-only property that is the connection idle timeout used to reset the connection to the PI AF Server for this PISystem.
Public property
IsConnected
Indicates the connection status to the PI AF Server.
Public property
PISystem
This read-only property allows access to the PISystem associated with this object.
Public property
Port
Read/write property that is the port number used to connect to the PI AF Server for this PISystem on the remote host.
Public property
Preference
The default connection preference override to be used when attempting to connect to a member in an AFCollective for this PISystem instance.
Public property
Protocol
Read/write property that is the protocol used to connect to the PI AF Server for this PISystem on the remote host.
Public property
StreamedPort
Read-only property that is the port number used to connect to the streamed interface of the PI AF Server for this PISystem on the remote host.
Public property
TimeOut
Read/write property that is the connection timeout used to connect to the PI AF Server for this PISystem on the remote host.

See Also

TitleResults for “How to create a CRG?”Also Available in