NSHost *host = [NSHost currentHost];

NSLog(@"hostName %@",[host localizedName]);

NSHost *host = [NSHost currentHost];
NSLog(@"hostName %@",[host localizedName]);