Check UNC path to avoid "hanging" if other machine is not reachable

This commit is contained in:
Klaus Basan
2020-04-14 02:44:02 +02:00
committed by Mat Sutcliffe
parent 04562a6651
commit e839820940
4 changed files with 93 additions and 2 deletions

View File

@@ -181,6 +181,9 @@ namespace BlackMisc
//! Machine in Windows UNC path
static QString windowsUncMachine(const QString &filePath);
//! All UNC machines from the paths
static QSet<QString> windowsUncMachines(const QSet<QString> &paths);
//! Can connect the UNC machine
static bool canPingUncMachine(const QString &machine);