1

How can the the BITS (Background Intelligent Transfer Service) version be retrieved using C# .NET 4.0.

4

1 に答える 1

0

これはBITSのdllであるため、基本的にSystem32でQMgr.dllのdllバージョンを取得しました。

const string bitsDll = "QMgr.dll";

var bitsDllInfo = FileVersionInfo.GetVersionInfo(Path
    .Combine(System.Environment.SystemDirectory, bitsDll));

updateDeliveryStatusRequest.BitsVersion = bitsDllInfo.FileVersion;
于 2012-01-16T23:39:25.797 に答える