Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Files.App/Services/Storage/StorageNetworkService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ public async Task<bool> AuthenticateNetworkShare(string path)

}

// Skip authentication for RaiDrive virtual shares
// RaiDrive creates virtual UNC paths that don't work with Windows networking APIs
// Format is \\RaiDrive-{user}\{drive-custom-name}\
if (path.StartsWith(@"\\RaiDrive-", StringComparison.OrdinalIgnoreCase))
{
return true;
}

fixed (char* lpcPath = path)
netRes.lpRemoteName = new PWSTR(lpcPath);
}
Expand Down
Loading