Share via


About the Resource Object

The Resource object has additional properties to facilitate reading data on the device and transferring it to a web service. It provides a Stream property (an IStream) that can be used with the IXMLHttpRequest method to send or receive data. The Resource object also provides Format, Size, and IsReadOnly properties for determining the data format of the resource, its size (in bytes), and whether the resource is read-only.

For examples of using the Resource object while reading and writing resource data synchronously and asynchronously, see Reading and Writing Resource Data.

About the WPD Automation Object Model

Creating and Deleting Objects

Creation Container Object

Resource Object

Service Object

Storage Object

WPDObject