cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How FNP fetches username and hostname through native source code?

How FNP fetches username and hostname through native source code?

Question:

How FNP fetches username and hostname through native source code

Answer:

Below is the way FNP fetches username and hostname through native source code. 


                                Windows                             Linux                                     OSX
Host name          gethostname()                  gethostname()                  gethostname()
User name          GetUserNameW()            getuid                                   getuid

Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Sep 12, 2019 05:31 AM
Updated by:
 
Contributors