Back to product page

ID property


Returns process ID.

Type

A Long value

Syntax

  • Basic
object.ID [= value]
The ID(object,value) syntax has these parts:
objectAn expression evaluating to an object of type UpdProcess.
valueA Long value.

Remarks

This property holds process ID of the process that locks file you want to replace using wodAppUpdate. It is same ID as you would obtain using GetCurrentProcessId API, if you own that process.

You can use this number to kill the process or access it for some other reason. It is not safe to assume that wodAppUpdate has enough privileges to access the process - maybe your application (and wodAppUpdate with it) runs with restricted user privileges.

Platforms

Windows