.NET(C#)でCLRバージョン情報を取得する
・ビルド時のCLRバージョン情報取得
string clrVersionBuildtime = System.Reflection.Assembly. GetExecutingAssembly().ImageRuntimeVersion;
・実行時のバージョン情報取得
string clrVersionRuntime = System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion();
【元】
@IT:.NET TIPS ビルド時および実行時のCLRバージョンを取得するには?
http://www.atmarkit.co.jp/fdotnet/dotnettips/278clrversion/clrversion.html
・ビルド時のCLRバージョン情報取得
string clrVersionBuildtime = System.Reflection.Assembly. GetExecutingAssembly().ImageRuntimeVersion;
・実行時のバージョン情報取得
string clrVersionRuntime = System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion();
【元】
@IT:.NET TIPS ビルド時および実行時のCLRバージョンを取得するには?
http://www.atmarkit.co.jp/fdotnet/dotnettips/278clrversion/clrversion.html





