This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var httpBaseProtocolFilter = new HttpBaseProtocolFilter(); | |
| httpBaseProtocolFilter.CookieManager.SetCookie(httpCookie); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ContactPicker pickcer = new ContactPicker(); | |
| pickcer.DesiredFieldsWithContactFieldType.Add(ContactFieldType.PhoneNumber); | |
| pickcer.SelectionMode = ContactSelectionMode.Fields; | |
| var contact = await pickcer.PickContactAsync(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // maybe not exist this | |
| if (ApiInformation.IsTypePresent("Windows.Phone.Devices.Notification.VibrationDevice")) | |
| { | |
| var vibrateDevice = Windows.Phone.Devices.Notification.VibrationDevice.GetDefault(); | |
| var duration = TimeSpan.FromMilliseconds(1000); | |
| vibrateDevice.Vibrate(duration); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Collections.Specialized; | |
| using System.Linq; | |
| using System.Runtime.InteropServices.WindowsRuntime; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| await Windows.System.Launcher.LaunchUriAsync(new Uri("tel:" + "number here")); | |
| // or | |
| Windows.ApplicationModel.Calls.PhoneCallManager.ShowPhoneCallUI("number here", "test"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ChatMessage msg = new ChatMessage(); | |
| msg.Body = "content here"; | |
| msg.Recipients.Add("number here"); | |
| await ChatMessageManager.ShowComposeSmsMessageAsync(msg); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #region Using Statements | |
| using Share; | |
| using System; | |
| using WaveEngine.Common; | |
| using WaveEngine.Common.Graphics; | |
| using WaveEngine.Common.Math; | |
| using WaveEngine.Components.Animation; | |
| using WaveEngine.Components.Cameras; | |
| using WaveEngine.Components.Graphics2D; | |
| using WaveEngine.Components.Graphics3D; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using WaveEngine.Common.Math; | |
| using WaveEngine.Framework; | |
| using WaveEngine.Framework.Graphics; | |
| using WaveEngine.Framework.Services; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #region Using Statements | |
| using System; | |
| using WaveEngine.Common; | |
| using WaveEngine.Common.Graphics; | |
| using WaveEngine.Common.Math; | |
| using WaveEngine.Components.Cameras; | |
| using WaveEngine.Components.Graphics2D; | |
| using WaveEngine.Components.Graphics3D; | |
| using WaveEngine.Framework; | |
| using WaveEngine.Framework.Graphics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #region Using Statements | |
| using System; | |
| using WaveEngine.Common; | |
| using WaveEngine.Common.Graphics; | |
| using WaveEngine.Common.Math; | |
| using WaveEngine.Components.Cameras; | |
| using WaveEngine.Components.Gestures; | |
| using WaveEngine.Components.Graphics2D; | |
| using WaveEngine.Components.Graphics3D; | |
| using WaveEngine.Framework; |