Exemplo n.º 1
0
 public MainPage()
 {
     this.InitializeComponent();
     this.NavigationCacheMode = NavigationCacheMode.Required;
     VKSDK.Initialize("5528332");
     //VKSDK.WakeUpSession();
     VKSDK.Authorize(_scope, false, false);
 }
Exemplo n.º 2
0
        public void login(string par)
        {
            string[]      _scope = JsonHelper.Deserialize <string[]>(JsonHelper.Deserialize <string[]>(par)[0]);
            List <String> scope  = new List <string>(_scope);

            DispatchInvoke(() =>
            {
                VKSDK.Authorize(scope, false, false);
            });
        }
Exemplo n.º 3
0
        public MainPage()
        {
            this.InitializeComponent();
            this.NavigationCacheMode = NavigationCacheMode.Required;

            VKSDK.Initialize("5650916");
            VKSDK.Authorize(_scope, false, false);
            Player.CurrentStateChanged      += Player_CurrentStateChanged;
            Player.BufferingProgressChanged += Player_BufferingProgressChanged;
            // Player.DownloadProgressChanged += Player_DownloadProgressChanged;
        }
Exemplo n.º 4
0
 private void AuthorizeButtonOnClick(object sender, RoutedEventArgs routedEventArgs)
 {
     VKSDK.Authorize(_scope, false, false);
 }
Exemplo n.º 5
0
 void AuthorizeButton2_Click(object sender, RoutedEventArgs e)
 {
     VKSDK.Authorize(_scope, false, false, LoginType.VKApp);
 }