NullSess Sample: Using Null Session for Access Problems

Click to open or copy the files for the NullSess sample.

This sample illustrates how to use a Null session to overcome access problems during network related query operations.

Building SDK Samples

This sample uses the following keywords:

establishnullsession; getlasterror; lstrcatw; lstrlenw; netuseadd; netusedel; printf; setlasterror; wmain; zeromemory