PISystem.GetAnonymousClientChannel(TChannel) Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Creates a ChannelFactory. The factory will be created using the provided binding and address. The channel will use a TLS connection with no client credentials.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public ChannelFactory<TChannel> GetAnonymousClientChannel<TChannel>( Binding tlsBinding, EndpointAddress tlsEndpoint )
Public Function GetAnonymousClientChannel(Of TChannel) ( tlsBinding As Binding, tlsEndpoint As EndpointAddress ) As ChannelFactory(Of TChannel) Dim instance As PISystem Dim tlsBinding As Binding Dim tlsEndpoint As EndpointAddress Dim returnValue As ChannelFactory(Of TChannel) returnValue = instance.GetAnonymousClientChannel(tlsBinding, tlsEndpoint)
public: generic<typename TChannel> ChannelFactory<TChannel>^ GetAnonymousClientChannel( Binding^ tlsBinding, EndpointAddress^ tlsEndpoint )
member GetAnonymousClientChannel : tlsBinding : Binding * tlsEndpoint : EndpointAddress -> ChannelFactory<'TChannel>
Parameters
- tlsBinding
- Type: System.ServiceModel.ChannelsBinding
The Binding to use for Modern Authentication - tlsEndpoint
- Type: System.ServiceModelEndpointAddress
The EndpointAddress to use for Modern Authentication
Type Parameters
- TChannel