YandexDiskService
Ecng.Backup.Yandex
The class for work with the Yandex.Disk.
Inherits: Disposable
Implements: IBackupService, IDisposable
Constructors
YandexDiskService
public YandexDiskService(IDiskApi client)
yandexDiskService = YandexDiskService(client)
Initializes a new instance with a custom IDiskApi implementation.
- client
- The Yandex.Disk client.
YandexDiskService
public YandexDiskService(SecureString token)
yandexDiskService = YandexDiskService(token)
Initializes a new instance of the YandexDiskService.
Methods
DisposeManaged
protected override void DisposeManaged()
yandexDiskService.DisposeManaged()
Disposes the managed resources. Override this method to add custom clean up of managed resources.