Config.cs 993 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Configuration;
  6. namespace EMISOnline.WinService.Common
  7. {
  8. public class Config
  9. {
  10. public static string FtpPath = ConfigurationManager.AppSettings["FtpPath"];
  11. public static string FtpFileType = ConfigurationManager.AppSettings["FtpFileType"];
  12. public static string ServUFile = ConfigurationManager.AppSettings["ServUFile"];
  13. public static string ServURegex = ConfigurationManager.AppSettings["ServURegex"];
  14. public static string M3U8Path = ConfigurationManager.AppSettings["M3U8Path"];
  15. public static string FfmpegExe = ConfigurationManager.AppSettings["FfmpegExe"];
  16. public static string FTPServer = ConfigurationManager.AppSettings["FTPServer"];
  17. public static string M3u8Server = ConfigurationManager.AppSettings["M3u8Server"];
  18. public static string DataServer = ConfigurationManager.AppSettings["DataServer"];
  19. }
  20. }