I hereby claim:
- I am asw101 on github.
- I am as_w (https://keybase.io/as_w) on keybase.
- I have a public key ASAbvbngxnlfaP2msmI2Jssz2mIc2YFNOfZEtwq2rkmzDwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am asw101 on github. | |
* I am as_w (https://keybase.io/as_w) on keybase. | |
* I have a public key ASAo9HcFeah_KJG7VG-k0PDDy3mCwwA6bOnoEkEQ6fwLfAo | |
To claim this, I am signing this object: |
#------------------------------------------------------------------------- | |
# Copyright 2011 Microsoft Corporation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
// see: http://solutionevangelist.com/post/25602 | |
static string client_id = ""; | |
static string client_secret = ""; | |
static string Server = "messenger.live.com"; | |
static string Token; | |
static string GetToken() | |
{ | |
if(String.IsNullOrEmpty(Token)) | |
{ | |
var oauth_uri = "https://oauth.live.com/authorize?client_id={0}&scope=wl.messenger&response_type=token&display=touch&redirect_uri={1}"; |