RemoteProcess.GetId Method

Gets the ID of the process that has the same FileName property.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

public long GetId()

Return Value

Type: System.Int64
Returns Int32 process ID value.

Exceptions

Exception Condition
InvalidOperationException

With a message string "Remote Process has not started", is thrown when the remote process has not started.

.NET Framework Security

See Also

Reference

RemoteProcess Class

RemoteProcess Members

Microsoft.SmartDevice.Connectivity Namespace