Friday, July 1, 2011

SNMP on Windows Phone 7.1 (Mango) Update.

NetToolWorks is almost ready to take requests for the BETA version of their SNMP library for Windows Phone 7.1 (Mango). Here is a taste of what it’s going to be like to use the library.
Requesting a variable using SNMPv1:
ManagerBase manager = ManagerFactory.CreateVersion1Manager("public");

manager.GetAsync(_Address, 161, "1.3.6.1.2.1.1.1.0", (variables, remoteEndpoint) =>
{
    if (variables.Count > 0)
    {
        MessageBox.Show("Response: " + variables[0].ToString());
    }

    manager.Close();
});
with SNMPv3:
SnmpUser user = new SnmpUser()
{
    Username = "test",
    SecurityLevel = SnmpUserSecurityLevel.AuthenticationAndPrivacy,
    AuthenticationAlgorithm = SnmpAuthenticationAlgorithm.SHA,
    AuthenticationPassword = "SHAPassword",
    PrivacyAlgorithm = SnmpPrivacyAlgorithm.AES,
    PrivacyPassword = "AESPassword"
};

ManagerBase manager = ManagerFactory.CreateVersion1Manager("public");

manager.GetAsync(_Address, 161, "1.3.6.1.2.1.1.1.0", (variables, remoteEndpoint) =>
{
    if (variables.Count > 0)
    {
        MessageBox.Show("Response: " + variables[0].ToString());
    }

    manager.Close();
});


Stay tuned for information on how you can get your hands on the BETA. Mmmmmmm juicy mangos.

Sunday, May 29, 2011

SNMP and Mangos?

So what do these two things have in common? Not much if you are talking about the fruit. However for those living under a rock mango is the code name for Windows Phone 7.1 (WP7.1) and I’m proud to announce today that NetToolWorks will be bringing their high quality SNMP library to it. NetToolWorks was the first to bring SNMPv3 support to the .NET Framework back in 2002 and now they are the first to bring it to the Windows Phone! (or just SNMP for that matter). Supported authentication and privacy algorithms include SHA1, MD5, AES, and DES for SNMPv3. A BETA version will be out soon, so stay tuned. For now here is a screen shot of a demo working:

image

Thursday, January 13, 2011

The case of the missing blog posts.

So the two of you that read my blog might have noticed that a lot of my posts are missing. I moved my blog once again to a new location. I just couldn’t get the last place to work right and they nickel and dime you over every feature. Hey good for them if they can get people to pay, but it just wasn’t worth it to me. While moving my posts over I noticed a lot of them just aren’t relevant anymore. Rather than spending hours and hours moving irrelevant posts I just decided to dump them and start fresh. I kept two technical ones and one that gives context to my recent post. If one of you two readers (if I even have that many anymore) wants one of my older posts I can send it to you.

Sunday, January 9, 2011

Indiana Jones and the Temple of am I doomed?

Yeah I know  it’s been a long time since I last wrote anything here. I made a joke in my last post about my next one being in 2011. Seriously I really meant that as a joke. I had no idea that would ring true. Actually in December I kept telling myself “I have to post something this month!” and I never got to it (obviously). Well 2010 was a strange year. I was so busy fretting about what to do next that I just kind of spun my wheels and got nowhere (lost year). In November a domino fell that lit a fire under my butt. Since then I wrote a C# like parser that compiles down to the DLR (I hope to have a post about that soon), quit my job of 9 years and decided to strike out on my own (this is where the Indiana and doomed part comes from…get it? .. no? I know dumb humor), started a contract, and started a few other projects.

So what’s the purpose of this post? Nothing really. I hope to start making some useful ones soon again (if I ever made any). I would like to show off the pre-Alpha version of that parser maybe in the next post. Here’s to a hopefully more productive (and a little scary) 2011.