{"title":"\u3010C#\u3011\u30d5\u30a9\u30eb\u30c0\u304c\u7a7a\u304b\u3069\u3046\u304b\u8abf\u3079\u308b\u95a2\u6570","provider_url":"https://hatena.blog","version":"1.0","categories":["C#"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180826/20180826160156.png","type":"rich","height":"190","url":"https://baba-s.hatenablog.com/entry/2017/12/26/185900","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using System.IO; public static class DirectoryUtils { public static bool IsEmptyDirectory( string path ) { if ( !Directory.Exists( path ) ) return false; try { var entries = Directory.GetFileSystemEntries( path ); return entries == null || entries.Length == 0; } catch { return false; } } } \u4f7f\u3044\u2026","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","blog_url":"https://baba-s.hatenablog.com/","author_name":"baba_s","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2017%2F12%2F26%2F185900\" title=\"\u3010C#\u3011\u30d5\u30a9\u30eb\u30c0\u304c\u7a7a\u304b\u3069\u3046\u304b\u8abf\u3079\u308b\u95a2\u6570 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-12-26 18:59:00","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","width":"100%"}