Painting Reflection

waiting for the bus on ossington and dundas

KitKatneko

Friends talking

at the distillery

KitKatneko

Wood on lake

huron

KitKatneko

Wind surfer

Blooming

KitKatneko

My Car

Blooming

KitKatneko

Sakura

Blooming

KitKatneko

Sakura

in Washington DC

Sakura

Philadelphia hall

Wow!

Action

Central Park

NYC, from the top of Rockfeller (?) building. Better than the Empire State as there is no windows nor fences.

Action

Warning

Emergency Exit Only

Action

Bloody ATM

litterally

Action

Summer Winter time

still cold in Toronto

Action

Where is my bike

I remember titling another picture just like this, back in Chofu, a bike in the middle of hundreds. here

Action

Get Dell Service Tag using WMI in C#

Oct 13th, 2006 by Florian | 0

I grew tired of having to reboot and enter the BIOS to view the Service Tag or BIOS revision of Dell computers. So, I wrote a small ruby program to do this from within Windows. I thought others might find it useful.

using System;
using System.Collections.Generic;
using System.Text;
using System.Management;

namespace GetServiceTag
{
class Program
{
static void Main(string[] args)
{
string myString = “”;
string target = “.”;
//Create the type as specified by the WMI docs, max field is 40

ManagementScope scope = new ManagementScope(“\\\\” + target + “\\root\\cimv2″);
ManagementPath path = new ManagementPath(“Win32_Bios”);
ObjectGetOptions obj = new ObjectGetOptions(null);
ManagementClass wmi = new ManagementClass(scope, path, obj);
foreach (ManagementObject bios in wmi.GetInstances())
{
myString += bios.Properties["Serialnumber"].Value.ToString().Trim();
myString += ” rev:”+bios.Properties["smbiosbiosversion"].Value.ToString().Trim();

}
System.Console.WriteLine(“Your Service tag is:”+myString);
}
}
}

Leave a Reply