allow internal networking connection from virtual box vm
This will allows you to access a shared folder on a Windows 10 Virtual box from Windows 11. Probably also works with other windows versions, but only tested with the host OS beinf windows 11 and the Virtual Box being Windows 10.
To allow internet network, 1st adapter is set to NAT
And then add another network adapter, and set it to host only, This way you can access the shared resource if created on the vm.
Add a shared folder
Then you need to know the PC name, it should appear in networking, and the Shared folder should work here.