Show / Hide Table of Contents

Class IDeviceNetworkExtensions

Extension methods for IDevice.

Inheritance
object
IDeviceNetworkExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Network
Assembly: DeviceConsole.Environments.dll
Syntax
public static class IDeviceNetworkExtensions

Methods

View Source

GetNetworkEnvironment(IDevice, string?)

Gets the network environment with the specified name.

Declaration
public static INetworkEnvironment GetNetworkEnvironment(this IDevice self, string? name = null)
Parameters
Type Name Description
IDevice self

The device context to use.

string name

The name of the file environment to get. If null, gets the default environment.

Returns
Type Description
INetworkEnvironment

The specified network environment.

View Source

GetSupportedNetworkEnvironments(IDevice)

Gets the supported network environments for this device.

Declaration
public static IEnumerable<string> GetSupportedNetworkEnvironments(this IDevice self)
Parameters
Type Name Description
IDevice self

The device context to use.

Returns
Type Description
IEnumerable<string>

An enumeration of supported network environment names.

  • View Source
In This Article
Back to top Generated by DocFX