VmRunWrapperSharedFolderSetAccess(VMWareVirtualMachine, String, String, Boolean) Method

Sets the writable/readonly access of a shared folder in the guest operating system of the specified virtual machine.

Definition

Namespace: DevCase.ThirdParty.VMware
Assembly: DevCase.net48.ThirdParty.VMware (in DevCase.net48.ThirdParty.VMware.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void SharedFolderSetAccess(
	VMWareVirtualMachine vm,
	string shareName,
	string hostDirectoryPath,
	bool allowWriteAccess
)

Parameters

vm  VMWareVirtualMachine
The VMWare virtual machine.
shareName  String
The name of the shared folder.
hostDirectoryPath  String
The full path to the directory that points the shared folder on the host operating system.
allowWriteAccess  Boolean
If , allow write access to the shared folder; otherwise, make the shared folder read-only.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed applications:

VMware Workstation Player / VMware Workstation Pro (vmrun.exe)

See Also