DesktopSDK 0.7 - PenComm Library (C#) Documentation
ContentsIndexHome
Smartpen.Close Method
Smartpen Class  Smartpen Members  Livescribe.DesktopSDK.PenComm Namespace  Smartpen Methods  Example

Closes a service connection, using a ServiceHandle.

C#
public bool Close(ServiceHandle serviceHandle);
Parameters 
Description 
ServiceHandle serviceHandle 
Service handle to be closed 

true indicates success

    private void CloseCommunication(Smartpen pen, ServiceHandle serviceHandle)
    {
        try
        {
            pen.Close(serviceHandle);
        }
        catch (Exception e)
        {
            HandleError(e);
        }
    }
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright © 2010 Livescribe, Inc. All rights reserved.