VS2013 upgrade - why? NOT sure? but this should be the latest code.

This commit is contained in:
2016-07-27 00:34:58 -04:00
parent 8d162b2035
commit 116c4fd7b1
47 changed files with 15126 additions and 19 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
namespace RetrievePin
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnRetrievePIN_Click(object sender, EventArgs e)
{
try
{
if (!String.IsNullOrEmpty(txtUserApiKey.Text))
{
RegistrationAPI.API.SetNetworkSettings("127.0.0.1", 443);
string Pin = RegistrationAPI.API.RetrieveUserApiKeyPin(txtUserApiKey.Text.Trim());
if (String.IsNullOrEmpty(Pin))
textPin.Text = "Invalid User Api Key";
else
textPin.Text = Pin;
}
}
catch (Exception ex)
{
textPin.Text = ex.Message;
}
}
}
}