Gets the input stream for reading an individual file of penlet data from the desktop desktop Container.
public ContainerStream OpenStream(string filePath);
Parameters |
Description |
string filePath |
The actual file path, such as: "Data\data1.dat". This is the file path defined in the penlet source code. |
Consider a penlet that writes data into the "Data\data1.dat" file on the smartpen. After transferring data from the smartpen to the desktop computer and storing it as a desktop container file, the file will contain a data file with the following path: "userdata\[Pen Serial]\[Penlet Name]\[InstanceId]\Data\data1.dat". However, the filePath parameter for this method is just "Data\data1.dat", which matches the declaration in the penlet source code.