
using Pluto.Registration;
namespace RegistrationServer
{
    partial class RegistrationService
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        /// <summary>
        /// Set the Port to use for the Channel
        /// </summary>
        /// <param name="Port">Port To use</param>        
        private void SetPort(int Port)
        {
            if (Port > 0 && this.ServerChannel.Port != Port)
            {
                this.ServerChannel.Port = Port;
                this.ServerChannel.TcpServer.Port = Port;
            }
        }

        #region Component Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.ServerChannel = new RemObjects.SDK.Server.IpTcpServerChannel(this.components);
            this.binMessage = new RemObjects.SDK.BinMessage();
            this.aesEncryptionEnvelope = new RemObjects.SDK.AesEncryptionEnvelope();
            ((System.ComponentModel.ISupportInitialize)(this.ServerChannel)).BeginInit();
            // 
            // ServerChannel
            // 
            this.ServerChannel.Dispatchers.Add(new RemObjects.SDK.Server.MessageDispatcher("bin", this.binMessage));
            this.ServerChannel.Port = 443;
            // 
            // 
            // 
            this.ServerChannel.TcpServer.Port = 443;
            // 
            // binMessage
            // 
            this.binMessage.ContentType = "application/octet-stream";
            this.binMessage.Envelopes.Add(new RemObjects.SDK.MessageEnvelopeItem(this.aesEncryptionEnvelope));
            this.binMessage.SerializerInstance = null;
            // 
            // aesEncryptionEnvelope
            // 
            this.aesEncryptionEnvelope.EnvelopeMarker = "AES";
            this.aesEncryptionEnvelope.Password = "KxHWkkE5PAp4tuTzmPKQF7RUyylMk7VOV8zfYln2w6NZJMOvT3yrXofIJWxJYRSQwAkm8DysTG9k7";
            // 
            // RegistrationService
            // 
            this.ServiceName = "PlutoRegistrationServer";
            ((System.ComponentModel.ISupportInitialize)(this.ServerChannel)).EndInit();

        }

        #endregion

        private RemObjects.SDK.Server.IpTcpServerChannel ServerChannel;
        private RemObjects.SDK.BinMessage binMessage;
        private RemObjects.SDK.AesEncryptionEnvelope aesEncryptionEnvelope;
    }
}
