English
Source / code snippets

Username Computername detect Getcomputerandusername Getusernameex Username

 

CompileMarkSeparation
cls
print getComputerAndUserName()
waitinput
end

proc getComputerAndUserName

    var sz&=256
    var m&=external("kernel32.dll","GlobalAlloc",64,sz&)

    ifnot external("secur32.dll","GetUserNameExA",2,m&,addr(sz&))

        external("kernel32.dll","GlobalFree",m&)
        return ""

    endif

    var s$=char$(m&,0,sz&)
    external("kernel32.dll","GlobalFree",m&)
    return s$

endproc

or. xpse
CompileMarkSeparationor. nativ:
CompileMarkSeparation
 
05/21/10  
 




ByteAttack
functions lovely under Win7/64bit and under VMWare WinXP. praise and reward
 
Website:  [...] 
Facebook:  [...] 
05/22/10  
 



salvo!
 
05/22/10  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.980 Views

Untitledvor 0 min.
AndreasS12/23/18
RICOSCH11/18/14
Michaeal03/24/14
maroro12/18/13
More...

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
ByteAttack (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie