Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 public void Start()
 {
     Logger logger = new Logger(AppInfo.Title + m_iChannel);
     if (!System.IO.Directory.Exists(m_sWMVDirectory))
     {
         System.IO.Directory.CreateDirectory(m_sWMVDirectory);
     }
     logger.WriteLog("Using " + m_sWMVDirectory + " to store WMV files.");
     m_Server = new ChannelServer(m_iChannel,m_sWMVDirectory,ref logger);
     m_Server.Start();
 }