I have api plugin which installs custom menu and tool bar to adobe acrobat. In this plugin once user installs this plugin, he need to activate this tool by entering key value. this limites to limited number of users (which is decided by client while buying).
So can some one suggest me how can i achive this.
First, this is the scripting forum. You want the SDK forum.
Second, this isn't an Acrobat issue. It's a C++ programming issue. If you want to connect to a web service you'll need to use the windows or mac socket interface. If you're doing this using MFC then there is a library for internet interactions. If not, I'm sure there is still a library for it, I know there is a system API, you'll just have to look around. But the main point is that it's completely outside the Acrobat SDK.
The source for PDF Scripting Info