public GetVersionInfo ( string packageName ) : SharpAdbClient.DeviceCommands.VersionInfo | ||
packageName | string | /// The name of the package from which to get the application version. /// |
Результат | SharpAdbClient.DeviceCommands.VersionInfo |
/// <summary> /// Requests the version information from the device. /// </summary> /// <param name="device"> /// The device on which to uninstall the package. /// </param> /// <param name="packageName"> /// The name of the package from which to get the application version. /// </param> public static VersionInfo GetPackageVersion(this DeviceData device, string packageName) { PackageManager manager = new PackageManager(device); return(manager.GetVersionInfo(packageName)); }
/// <summary> /// Requests the version information from the device. /// </summary> /// <param name="device"> /// The device on which to uninstall the package. /// </param> /// <param name="packageName"> /// The name of the package from which to get the application version. /// </param> public static VersionInfo GetPackageVersion(this DeviceData device, string packageName) { PackageManager manager = new PackageManager(device); return manager.GetVersionInfo(packageName); }