5 ''' <param name=
"server_name">The name to publish the server under.</param>
6 ''' <returns>The success status Or
error code of the
function.</returns>
7 ''' <remarks>See remote_server_example.cs
for an example.</remarks>
9 Dim
gclib = New Gclib()
11 Console.WriteLine("<p> Publish this server to the network" + vbNewLine +
12 "<r> Remove this server from the network" + vbNewLine +
18 Select Case Console.ReadKey(True).Key
23 Console.WriteLine("Published Server")
26 Console.WriteLine("Removed Server")
Provides a class of shared constants and methods for gclib's example projects.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
GCLIB_DLL_EXPORTED GReturn GCALL GPublishServer(GCStringIn name, GOption publish, GOption save)
Uses GUtility(), G_UTIL_GCAPS_PUBLISH_SERVER to publish local gcaps server to the local network.
void error(GCon g, GReturn rc)
An example of error handling and debugging information.
int Remote_Server(string server_name)
Demonstrates various uses of GPublishServer()