3.3. ProductInformation

Starプリンタとの接続に必要な情報とモデル情報を保持するクラスです。

  • メンバー

    名称

    説明

    FindAllAsync

    ProductInformation オブジェクトを列挙します。

    Name

    プリンターと通信するためのポートを特定する文字列を取得します。

    MacAddress

    プリンターのMACアドレスを取得します。

    ProductId

    製品の種類を表す識別子を取得します。

3.3.1. FindAllAsync

Starプリンターを検索し、検索結果を返します。

  • 宣言

    public static IAsyncOperation<ProductInformationCollection> FindAllAsync()
    public static IAsyncOperation<ProductInformationCollection> FindAllAsync(printerInterfaceType)
    
  • 引数

    名称

    説明

    PrinterInterfaceType

    プリンターのインターフェイスタイプ

    PrinterInterfaceType

  • 戻り値

    説明

    列挙された ProductInformationCollection オブジェクト

    ProductInformationCollection

  1. 制限事項

    本メソッドはデバイスを確実に検出することを保証するものではありません。

3.3.2. Name

プリンターと通信するためのポートを特定する文字列を取得します。

  • 宣言

    public string Name { get; }
    

3.3.3. MacAddress

プリンターのMACアドレスを取得します。

  • 宣言

    public string MacAddress { get; }
    

3.3.4. ProductId

製品の種類を表す識別子

  • 宣言

    public ProductId ProductId { get; }