<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuxumarin</author_name>
  <author_url>https://blog.hatena.ne.jp/kuxumarin/</author_url>
  <blog_title>くうと徒然なるままに</blog_title>
  <blog_url>https://kuxumarin.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>System.Net.Dns クラスを使います。 コード static void Main(string[] args) { var ipadress = System.Net.Dns.GetHostEntry(&quot;www.google.co.jp&quot;); Console.WriteLine($&quot;DNS: {ipadress.HostName}&quot;); ipadress.AddressList.ToList().ForEach(address =&gt; Console.WriteLine(address)); } 実行結果</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuxumarin.hatenablog.com%2Fentry%2F2017%2F11%2F17%2F215616&quot; title=&quot;C# で ホスト名からIPアドレスを名前解決してもらう - くうと徒然なるままに&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://lh3.googleusercontent.com/-cNAYr34TCLs/Wg7cWsry8rI/AAAAAAAAba8/a0qaF0lmMysmHprIL5iUINfbrrZIzt1-gCHMYCw/s0/cmd_2017-11-17_21-55-54.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-17 21:56:16</published>
  <title>C# で ホスト名からIPアドレスを名前解決してもらう</title>
  <type>rich</type>
  <url>https://kuxumarin.hatenablog.com/entry/2017/11/17/215616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
