G
Guest
I would liike to know which C# function is the replacement for the following
function, and how do I use Platform SDK functions which r not updated in .Net
Framework.
CHAR nUser[100];
DWORD mError = 80,test ;
test = WNetGetUser(NULL, nUser, &mError);
if(test == NO_ERROR){
// Show Current Log On User
AfxMessageBox(nUser,MB_OK);
}
function, and how do I use Platform SDK functions which r not updated in .Net
Framework.
CHAR nUser[100];
DWORD mError = 80,test ;
test = WNetGetUser(NULL, nUser, &mError);
if(test == NO_ERROR){
// Show Current Log On User
AfxMessageBox(nUser,MB_OK);
}