NetworkConfigurationStore.cs 626 B

1234567891011121314151617181920212223
  1. using MediaBrowser.Common.Configuration;
  2. namespace MediaBrowser.Common.Net;
  3. /// <summary>
  4. /// A configuration that stores network related settings.
  5. /// </summary>
  6. public class NetworkConfigurationStore : ConfigurationStore
  7. {
  8. /// <summary>
  9. /// The name of the configuration in the storage.
  10. /// </summary>
  11. public const string StoreKey = "network";
  12. /// <summary>
  13. /// Initializes a new instance of the <see cref="NetworkConfigurationStore"/> class.
  14. /// </summary>
  15. public NetworkConfigurationStore()
  16. {
  17. ConfigurationType = typeof(NetworkConfiguration);
  18. Key = StoreKey;
  19. }
  20. }