Beispiel #1
0
        public Task SetDefault(string drivePath, CancellationToken cancellationToken = default, IProgress <ProgressData> progress = default)
        {
            var proxyObject = new SetDefaultDto
            {
                DrivePath = drivePath
            };

            return(this.client.Invoke(proxyObject, cancellationToken, progress));
        }
Beispiel #2
0
        public Task SetDefault(AppxVolume volume, CancellationToken cancellationToken = default, IProgress <ProgressData> progress = default)
        {
            var proxyObject = new SetDefaultDto
            {
                DrivePath = volume.PackageStorePath
            };

            return(this.client.Invoke(proxyObject, cancellationToken, progress));
        }