Client class for RecryptService.
Inheritance: RecryptService
コード例 #1
0
        /// <summary>
        /// Return a MeshService object for the named portal service.
        /// </summary>
        public override RecryptService GetService(string Service, string Account) {
            Session = new DebugLocalSession(RecryptServiceHost, ServiceName, Account);
            Session.Traces = Traces;

            MeshServiceClient = new RecryptServiceClient(Session);

            // Create a new dispatch client
            RecryptServiceHost.Service = new PublicRecryptService(RecryptServiceHost, Session);

            return MeshServiceClient;
            }
コード例 #2
0
 /// <summary>
 /// Return a MeshService object for the named portal service.
 /// </summary>
 public override RecryptService GetService(string Service, string Account) {
     var Session = new LocalRemoteSession(RecryptServiceHost, ServiceName, Account);
     MeshServiceClient = new RecryptServiceClient(Session);
     return MeshServiceClient;
     }
コード例 #3
0
        /// <summary>
        /// Return a RecryptService object for the named portal service.
        /// </summary>
        public override RecryptService GetService(string Service, string Account) {
            var URI = JPCProvider.WellKnownToURI(Service, RecryptService.WellKnown,
                        RecryptService.Discovery, false, true);

            var Session = new WebRemoteSession(URI, Service, Account);
            MeshServiceClient = new RecryptServiceClient(Session);
            return MeshServiceClient;
            }