<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Windows</anon>
  </categories>
  <description>SHFileOperation関数を使用したシェルファイル操作のラッパークラスです。C#の標準機能では使用できない「元に戻す」等が使用できます。趣味範囲で作成して使っているので、脆弱性に関しては注意してください。 // サンプル using Utility.Shell; File.WriteAllText(&quot;dummy1&quot;, &quot;dummy1&quot;); var (aborted, mappings) = ShellFileOperation.Copy([(&quot;dummy1&quot;, &quot;dummy2&quot;), (&quot;dummy1&quot;, &quot;dummy3&quot;)], new() { WantMappings = true }…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F08%2F02%2F235515&quot; title=&quot;C#&amp;amp;Windows シェルファイル操作のラッパークラス（SHFileOperation版） - potisanのプログラミングメモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-08-02 23:55:15</published>
  <title>C#&amp;Windows シェルファイル操作のラッパークラス（SHFileOperation版）</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2026/08/02/235515</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
