I fetch the Guid of Record using below code in Silverlight Application in CRM.
dynamic xrmnew = (ScriptObject)HtmlPage.Window.GetProperty("Xrm");
Guid Id1 = new Guid(xrmnew.Page.data.entity.getId());
textBox2.Text = Id1.ToString();
Thats fine i got the Guid of Record from Silverlight Application using above code.But if i deploy this Silverlight Page in HTML Page and then try to get Guid of Record using above code then it doesnt able to fetch the Guid.
Finally after a lot of hard work i got the answer