mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Don't use SMB1 under Windows 10+
(cherry picked from commit db4feb4e0a)
This commit is contained in:
parent
9fabdb6e99
commit
4d241dc120
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ begin
|
|||
if WNetGetProviderNameW(WNNC_NET_LANMAN, @FProviderName, dwBufferSize) <> NO_ERROR then
|
||||
raise EOSError.Create(mbWinNetErrorMessage(GetLastError));
|
||||
|
||||
FSamba1:= (Win32MajorVersion < 6) or (GetServiceStatus('mrxsmb10') = SERVICE_RUNNING);
|
||||
FSamba1:= (Win32MajorVersion < 6) or ((Win32MajorVersion < 10) and
|
||||
(GetServiceStatus('mrxsmb10') = SERVICE_RUNNING));
|
||||
end;
|
||||
|
||||
class function TWinNetFileSource.IsSupportedPath(const Path: String): Boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue