winform获取EXE图片
using (FileStream fs = new System.IO.FileStream(n,
FileMode.OpenOrCreate, FileAccess.Write, FileShare.None))
{
System.Drawing.Icon.ExtractAssociatedIcon(path).Save(fs);
}
winform获取EXE图片
using (FileStream fs = new System.IO.FileStream(n,
FileMode.OpenOrCreate, FileAccess.Write, FileShare.None))
{
System.Drawing.Icon.ExtractAssociatedIcon(path).Save(fs);
}