差分
</source>
<source lang="csharp">
Console.WriteLine(version["ProductVersion"]);
</source>
[[文字列]]では扱いにくい場合は[[.NET]]標準のVersionクラスを使えばパースも簡単にできる。
<source lang="csharp">
var v = new Version(version["ProductVersion"].ToString());
Console.WriteLine(v.Major);
Console.WriteLine(v.Minor);
Console.WriteLine(v.Build);
</source>
==実装:NSProcessInfoを使う==