ArgusTV.Recorders.Common.RecorderTunerServiceBase.Initialize C# (CSharp) 메소드

Initialize() 공개 메소드

public Initialize ( System.Guid recorderTunerId, string serverHostName, int tcpPort ) : void
recorderTunerId System.Guid
serverHostName string
tcpPort int
리턴 void
        public virtual void Initialize(Guid recorderTunerId, string serverHostName, int tcpPort)
        {
            _recorderTunerId = recorderTunerId;
            using (RecorderCallbackServiceAgent agent = new RecorderCallbackServiceAgent(serverHostName, tcpPort))
            {
                agent.RegisterRecorderTuner(this.RecorderTunerId, this.Name, Assembly.GetCallingAssembly().GetName().Version.ToString());
            }
        }