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

AF SDK Reference

PISystem.GetAnonymousClientChannel(TChannel) Method

PISystem.GetAnonymousClientChannel(TChannel) Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.GetAnonymousClientChannel(TChannel) Method
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

Return Value

Type: ChannelFactoryTChannel

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

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