diff options
| author | Abdulmohsen <ArabCoders@users.noreply.github.com> | 2023-11-24 00:00:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 00:00:53 +0300 |
| commit | 9d5dc4d71b6f542d4adb60a6287a86f558c1dcc2 (patch) | |
| tree | b646b8209bd90df22c4a2a2df612f09b3be2c170 /MediaBrowser.Common/Net/NetworkConfigurationStore.cs | |
| parent | 324c86e14d9d76670b4e3439c2ed5fcbbfb9f8ff (diff) | |
| parent | 3d4d33bcbac07be40c132cf3a3c39630ace7b444 (diff) | |
Merge branch 'jellyfin:master' into master
Diffstat (limited to 'MediaBrowser.Common/Net/NetworkConfigurationStore.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/NetworkConfigurationStore.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/NetworkConfigurationStore.cs b/MediaBrowser.Common/Net/NetworkConfigurationStore.cs new file mode 100644 index 000000000..d2f518707 --- /dev/null +++ b/MediaBrowser.Common/Net/NetworkConfigurationStore.cs @@ -0,0 +1,23 @@ +using MediaBrowser.Common.Configuration; + +namespace MediaBrowser.Common.Net; + +/// <summary> +/// A configuration that stores network related settings. +/// </summary> +public class NetworkConfigurationStore : ConfigurationStore +{ + /// <summary> + /// The name of the configuration in the storage. + /// </summary> + public const string StoreKey = "network"; + + /// <summary> + /// Initializes a new instance of the <see cref="NetworkConfigurationStore"/> class. + /// </summary> + public NetworkConfigurationStore() + { + ConfigurationType = typeof(NetworkConfiguration); + Key = StoreKey; + } +} |
