如何使用C# .NET 4.0检索BITS (后台智能传输服务)版本。
发布于 2012-01-17 07:39:26
我基本上是在System32中检索QMgr.dll的dll版本,因为这是位的dll版本。
const string bitsDll = "QMgr.dll";
var bitsDllInfo = FileVersionInfo.GetVersionInfo(Path
.Combine(System.Environment.SystemDirectory, bitsDll));
updateDeliveryStatusRequest.BitsVersion = bitsDllInfo.FileVersion;https://stackoverflow.com/questions/8884444
复制相似问题