You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
660 B
20 lines
660 B
using MediaBrowser.Common.Configuration;
|
|
|
|
namespace MediaBrowser.Common.Net;
|
|
|
|
/// <summary>
|
|
/// Defines the <see cref="NetworkConfigurationExtensions" />.
|
|
/// </summary>
|
|
public static class NetworkConfigurationExtensions
|
|
{
|
|
/// <summary>
|
|
/// Retrieves the network configuration.
|
|
/// </summary>
|
|
/// <param name="config">The <see cref="IConfigurationManager"/>.</param>
|
|
/// <returns>The <see cref="NetworkConfiguration"/>.</returns>
|
|
public static NetworkConfiguration GetNetworkConfiguration(this IConfigurationManager config)
|
|
{
|
|
return config.GetConfiguration<NetworkConfiguration>(NetworkConfigurationStore.StoreKey);
|
|
}
|
|
}
|