Exemplo n.º 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));
        }
Exemplo n.º 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));
        }