diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-01-08 17:52:50 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-01-22 22:20:35 +0100 |
| commit | c8409d2ea1b4843bb89377b130733e61e6dc2e41 (patch) | |
| tree | 701a0d6f181c23053d9e26ab7f313d739d743e38 /Emby.Server.Implementations/Devices | |
| parent | 6eac7f0fa7e753731e3d65c0b6c0323eb730ccd8 (diff) | |
Remove FileSystem.GetStream
Diffstat (limited to 'Emby.Server.Implementations/Devices')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index ef7317050..2bd0b840a 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -243,7 +243,7 @@ namespace Emby.Server.Implementations.Devices try { - using (var fs = _fileSystem.GetFileStream(path, FileOpenMode.Create, FileAccessMode.Write, FileShareMode.Read)) + using (var fs = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read)) { await stream.CopyToAsync(fs).ConfigureAwait(false); } |
