diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-14 21:10:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 21:10:41 +0100 |
| commit | 3ec2d5592ed296f444ae5e5dafd23985def13110 (patch) | |
| tree | 4423723a661e1f8656ce95edec1bd249fc46fe5a /MediaBrowser.Common/Net/NetworkConfigurationStore.cs | |
| parent | ea546230586a00a75db5c379db904e47cbbf270b (diff) | |
| parent | de0241e975c6b765f2af465734635a1a024a142a (diff) | |
Merge pull request #10574 from barronpm/dlna-plugin3
Move DLNA to Plugin (Part 1 (Part 2))
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; + } +} |
