We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53466f5 commit 31890bcCopy full SHA for 31890bc
src/Files.App/Services/Storage/StorageNetworkService.cs
@@ -227,6 +227,14 @@ public async Task<bool> AuthenticateNetworkShare(string path)
227
228
}
229
230
+ // Skip authentication for RaiDrive virtual shares
231
+ // RaiDrive creates virtual UNC paths that don't work with Windows networking APIs
232
+ // Format is \\RaiDrive-{user}\{drive-custom-name}\
233
+ if (path.StartsWith(@"\\RaiDrive-", StringComparison.OrdinalIgnoreCase))
234
+ {
235
+ return true;
236
+ }
237
+
238
fixed (char* lpcPath = path)
239
netRes.lpRemoteName = new PWSTR(lpcPath);
240
0 commit comments