<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku_sh</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku_sh/</author_url>
  <blog_title>sh1’s diary</blog_title>
  <blog_url>https://shikaku-sh.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>プログラミング</anon>
    <anon>WPF</anon>
  </categories>
  <description>以前、.NET Framework 時代の記事だけど「C# OS にインストールされているプリンターのアイコンを取得」を書いた。 デフォルトのプリンター名も取得したくなったので、改めて .NET 用に書き直したのでメモ。 できること デフォルトのプリンターの名前を取得 プリンターの名前の一覧を取得 プリンターの名前に対応するアイコンを取得 以前は、名前とアイコンを一緒に取得していたのですがバラバラにしました。同じようなコードを2回書いてるので微妙なんですが、１００回も２００回も動かすコードじゃないし、アイコンが毎回必要なわけでもないならコードは別々のほうが使い勝手よさそう。（ValueTupl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikaku-sh.hatenablog.com%2Fentry%2Fc-sharp-get-installed-printers-info&quot; title=&quot;C# OS にインストールされているデフォルトプリンター情報を取得 - sh1’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shikaku_sh/20210823/20210823173353.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-24 14:16:29</published>
  <title>C# OS にインストールされているデフォルトプリンター情報を取得</title>
  <type>rich</type>
  <url>https://shikaku-sh.hatenablog.com/entry/c-sharp-get-installed-printers-info</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
