Show / Hide Table of Contents

Class LicenseClient

Communicates with LicensePublisher to get published License.

Inheritance
System.Object
System.ServiceModel.ClientBase<ILicensePublisher>
LicenseClient
Implements
System.ServiceModel.ICommunicationObject
System.IDisposable
Inherited Members
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.GetDefaultValueForInitialization<T>()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.Open()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.Abort()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.Close()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.DisplayInitializationUI()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.CreateChannel()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.IDisposable.Dispose()
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Open(System.TimeSpan)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Close(System.TimeSpan)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.BeginClose(System.AsyncCallback, System.Object)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.BeginClose(System.TimeSpan, System.AsyncCallback, System.Object)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.EndClose(System.IAsyncResult)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.BeginOpen(System.AsyncCallback, System.Object)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.BeginOpen(System.TimeSpan, System.AsyncCallback, System.Object)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.EndOpen(System.IAsyncResult)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.InvokeAsync(System.ServiceModel.ClientBase.BeginOperationDelegate<>, System.Object[], System.ServiceModel.ClientBase.EndOperationDelegate<>, System.Threading.SendOrPostCallback, System.Object)
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.Channel
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.ChannelFactory
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.ClientCredentials
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.State
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.InnerChannel
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.Endpoint
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Closed
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Closing
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Faulted
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Opened
System.ServiceModel.ClientBase<DevZest.Licensing.ILicensePublisher>.System.ServiceModel.ICommunicationObject.Opening
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Licensing
Assembly: DevZest.Licensing.dll
Syntax
public class LicenseClient : ClientBase<ILicensePublisher>, ICommunicationObject, IDisposable
Remarks

LicenseClient is a WCF (Windows Communication Foundation) client object. For WCF client configuration, refer to WCF documentation.

Constructors

Name Description
LicenseClient(String)

Initializes a new instance of the LicenseClient class using specified public key XML string and the default target endpoint from the application configuration file.

LicenseClient(String, Binding, EndpointAddress)

Initializes a new instance of the LicenseClient class using the specified public key XML string, binding and target address.

LicenseClient(String, String)

Initializes a new instance of the LicenseClient class using specified public key XML string and the configuration information specified in the application configuration file by endpointConfigurationName.

Methods

Name Description
GetLicense(CultureInfo, String, Version, LicenseKey, String, String, String, String, String)

Gets License from LicensePublisher using specified culture.

GetLicense(String, Version, LicenseKey, String, String, String, String, String)

Gets License from LicensePublisher using current thread's culture.

PublicKeyXmlFromAssembly(Assembly)

Gets public key XML string from specified assembly.

PublicKeyXmlFromAssembly(String)

Gets public key XML string from specified assembly file.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest