NetworkOperatorTetheringAccessPointConfiguration クラス

定義

特定のテザリング ネットワーク SSID を含むオブジェクトを構成および作成する機能を提供し、テザリング ネットワークへのネットワーク接続を確立しようとしているクライアントの認証に使用されるパスフレーズを指定します。

テザリングにより、Windows デバイスはモバイル ホットスポットとして機能し、Wi-Fi または Bluetooth 経由でインターネット接続を提供できます。 プロパティは、ネットワーク SSID、パスワード、ワイヤレス周波数帯域などの Wi-Fi アクセス ポイントで構成できます。

public ref class NetworkOperatorTetheringAccessPointConfiguration sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NetworkOperatorTetheringAccessPointConfiguration final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class NetworkOperatorTetheringAccessPointConfiguration final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NetworkOperatorTetheringAccessPointConfiguration
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NetworkOperatorTetheringAccessPointConfiguration
function NetworkOperatorTetheringAccessPointConfiguration()
Public NotInheritable Class NetworkOperatorTetheringAccessPointConfiguration
継承
Object Platform::Object IInspectable NetworkOperatorTetheringAccessPointConfiguration
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
wiFiControl

注釈

Windows 10バージョン 1607 では、モバイル ブロードバンド テザリング機能の拡張バージョンである Mobile Hotspot がサポートされています。 Mobile Hotspot と Wi-Fi Direct テクノロジは、両方とも同時に実行することはできません。 モバイル ホットスポットは、すべての Wi-Fi Direct シナリオよりも優先されます。 たとえば、画面プロジェクションとテザリングの両方を同時に実行することはできません。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
2004 19041 Band
2004 19041 IsBandSupported
2004 19041 IsBandSupportedAsync

コンストラクター

NetworkOperatorTetheringAccessPointConfiguration()

NetworkOperatorTetheringAccessPointConfiguration のインスタンスを作成します。

プロパティ

AuthenticationKind

Wi-Fi テザリング接続に使用する認証の種類を取得または設定します。

Band

Wi-Fi アクセス ポイントのワイヤレス周波数帯域を取得または設定します。 IsBandSupported または IsBandSupportedAsync を使用して、Wi-Fi アダプターが特定の周波数帯域の構成を許可するかどうかをチェックします。

Passphrase

接続の認証に使用されるパスフレーズを取得または設定します。

Note

802.11 仕様で詳しく説明されているように、パスフレーズには標準の ASCII 印刷可能文字セットに 8 ~ 63 文字が含まれている必要があります。

Ssid

テザリング ネットワークに使用する SSID を取得または設定します。

Note

SSID は、システムの既定のロケールの Microsoft コード ページを使用してエンコードされます。 この SSID は、異なるシステム ロケールを使用するシステム上の Windows ネットワーク選択 UI で異なる方法で表示される場合があります。 ロケール間の不整合を避けるために、標準の ASCII 印刷可能文字セットの文字を使用して値を設定することを強くお勧めします。

メソッド

IsAuthenticationKindSupported(TetheringWiFiAuthenticationKind)

Wi-Fi アダプターが特定の認証の種類でアクセス ポイントを構成できるかどうかを示す値を取得します。

IsAuthenticationKindSupportedAsync(TetheringWiFiAuthenticationKind)

Wi-Fi アダプターが特定の認証の種類でアクセス ポイントを構成できるかどうかを示す値を非同期的に取得します。

IsBandSupported(TetheringWiFiBand)

Wi-Fi アクセス ポイントが指定したワイヤレス周波数帯域をサポートしているかどうかを確認します。

IsBandSupportedAsync(TetheringWiFiBand)

Wi-Fi アクセス ポイントが指定したワイヤレス周波数帯域をサポートしているかどうかを非同期的にチェックします。

適用対象