void airServer_UserPresenceReceivedAsk(out bool isVisible, ref Air.UserInfo userInfo) { if (string.IsNullOrEmpty(UserAccountPicture)) { UserAccountPicture = AirFileExchange.Air.Helper.UserAccountPictureAsBase64(); } isVisible = true; userInfo = new AirFileExchange.Air.UserInfo() { DisplayName = Environment.UserName, ComputerName = Environment.MachineName, Icon = UserAccountPicture }; }
void airServer_UserPresenceReceivedAsk(out bool isVisible, ref Air.UserInfo userInfo) { if (string.IsNullOrEmpty(UserAccountPicture)) { UserAccountPicture = AirFileExchange.Air.Helper.UserAccountPictureAsBase64(); } isVisible = true; userInfo = new AirFileExchange.Air.UserInfo() { DisplayName = Environment.UserName, ComputerName = Environment.MachineName, Icon = UserAccountPicture }; }