Important: The information in this document is obsolete and should not be used for new development.
Opening and Closing Providers
To create and open a provider, you use a type-specific provider function--for example, theOTOpenEndpointorOTAsyncOpenEndpointfunction creates and opens an endpoint. These functions are included in the chapters describing the various type of providers. When you finish using a provider of any type, always call theOTCloseProviderfunction to close and delete the provider.You can also transfer ownership of a provider using the
OTTransferProviderOwnershipfunction, and theOTWhoAmIfunction, to obtain the ID of the current client.