Showing posts with label Mubi's. Show all posts
Showing posts with label Mubi's. Show all posts

Sunday, August 8, 2010

C# FAQs Series: Using Proxy



In C# FAQs Series: We discuss most frequent questions asked on C# forums.
One of the most questions asked on C# froums is, how to use proxy settings in your own C# application.
You can programmatically change IE setting from registry using C#.
However the best way is to keep setting in your own application.
Updating IE settings:-

RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue("ProxyEnable", 1);
registry.SetValue("ProxyServer", "127.0.0.1:8080");
Control Settings in C# Application:-

YourWebService ws=new YourWebService();
System.Net.NeworkCredential cr= new System.Net.NeworkCredential("User","pwd","domain");
System.Net.WebProxy pr=new System.Net.WebProxy ("127.0.1.2", 80);
pr.Credntials=cr;
ws.proxy=pr;
ws.MyAnyMethod();
To reset default settings...
pr.Credentials=System.Net.CredntialsCache.DefualtCrdentials;

C# FAQs Series: Get Names of All Machine on LAN


In C# FAQs Series: We discuss most frequent questions asked on C# forums.
In this session we will see how to get all machines connected on LAN using C# code. 
You can use windows built-in tool net.exe to achieve this. All you need to do is start it using Process  class and send view command.
 
using System.Diagnostics; 
using System.IO; 
    //Gets the machine names that are connected on LAN 
 Process NetworkUtility = new Process(); 
 NetworkUtility.StartInfo.FileName = "net.exe"; 
NetworkUtility.StartInfo.CreateNoWindow = true; 
 NetworkUtility.StartInfo.Arguments = "view"; 
 NetworkUtility.StartInfo.RedirectStandardOutput = true; 
 NetworkUtility.StartInfo.UseShellExecute = false; 
 NetworkUtility.StartInfo.RedirectStandardError = true; 
 NetworkUtility.Start(); 
 StreamReader streamReader = new StreamReader(NetworkUtility.StandardOutput.BaseStream,  NetworkUtility.StandardOutput.CurrentEncoding); 
string line = ""; 
while ((line = streamReader.ReadLine()) != null) 
 { 
      if (line.StartsWith("\\")) 
      {             listBox1.Items.Add(line.Substring(2).Substring(0, line.Substring(2).IndexOf(" ")).ToUpper()); 
      } 
} 
 streamReader.Close(); 
NetworkUtility.WaitForExit(1000); 
All machines on LAN will be added in listBox1.

Monday, August 2, 2010

Microsoft Tag


Microsoft Tag connects almost anything in the real world to information, entertainment, and interactive experiences on your mobile phone. Tags are a new kind of bar code that can be displayed anywhere. You can add a Tag to your ads, posters, product packages, flyers, display it on your website, billboards, clothing…the list is endless. When you scan a Tag by using the free Tag Reader application on your mobile phone, it will automatically open a webpage, display a message, or dial a number – there are no long URLs to type or SMS messages to send.
Anyone can create Tags. Put them on your materials or your webpage and you decide what your customers will experience. Unlike other kinds of bar codes, Tags are fully customizable. You can decide to create your Tags in black and white, or you can create colorful Tags that visually represent your business or personal brand in a spectacular manner. It only takes a few minutes to start working with Tag and it is free to scan and create Tags.
5pt; text-indent: -18.0pt; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt;">· Use a Tag to instantly link to a mobile website or video.
· Scan a Tag on a business card to instantly add someone to your address book.
· All the Tags you've scanned to-date are saved so you can retrieve them later or share with others.
· Create your own Tags using our Tag Manager and view reports on how frequently they are scanned.
Microsoft Tag vs. Other 2D Codes
Linking real-world objects to deeper experiences on mobile phones started in Japan with QR Codes. Microsoft Tag provides a next-generation solution that offers many useful improvements.
Tag is an end-to-end system that provides many capabilities beyond simply opening a URL, and is built upon an architecture that allows for new functionality to be added over time. Instead of just opening a URL, the Tag system leverages dedicated client software and a cloud-based back-end to provide functionality that just isn’t possible with earlier QR Codes. For example, the Tag system has built-in reporting to let you know how your Tags are being scanned, and enables you to provide integrated solutions that span multiple Tags and sessions. And over time, it can provide many other value-added services.
The new bar code format itself also provides many advantages. Tags can be created in a much smaller size than older bar codes and can be read faster and under a wider range of lighting conditions. Tag provides the option to make Custom Tags that full integrate your brand’s personality into the Tag itself, creating colorful, visually exciting codes that don’t distract from your message. Learn more about how to create Custom Tags.
Here are just some of the reasons to use Microsoft Tag:
Adaptable Size
Tag's small size makes it a perfect choice for use in printed materials and visual media forms.
Customized Look and Feel
It's easy to customize the look of a Tag to reflect the personality of the person or a brand.
Single Source
All Tags report back to a single source, ensuring a high consistency in user experience across multiple devices and platform types.
Reliability of Reads
Overcomes limited camera phone optics, resolution, and processing power.
Advanced Analytics
Captures the number of click-throughs and scans of a particular Tag, as well as the resulting responses.
The Tag Reader application runs on all the major phone platforms, and users can instantly download the app from a single site. Even better, unlike older formats, every Microsoft Tag can be read by every Tag Reader, so there is no consumer confusion that results from incompatible solutions. Tags just work.
More about tag visit... http://tag.microsoft.com/

Sunday, July 12, 2009

My Blog - Google Analaytic Report



Google Analytic is very handy tool to manage traffic on your website. Its easily integrable with any web page and very power tool to improve traffic on your website. Following is report for www.mrmubi.com for 12th July 2009.

Map Overlay:


Country/Territory
Visits
Pages/Visit
Avg. Time on Site
% New Visits
Bounce Rate
1. 134 1.81 00:03:37 2.24% 65.67%
2. 6 1.33 00:00:09 83.33% 66.67%
3. 6 1.50 00:03:23 16.67% 66.67%
4. 5 2.60 00:03:13 80.00% 60.00%
5. 5 1.00 00:00:00 100.00% 40.00%
6. 4 1.75 00:04:35 100.00% 75.00%
7. 3 1.33 00:00:29 100.00% 66.67%
8. 3 1.00 00:00:00 33.33% 0.00%
9. 2 1.50 00:00:57 50.00% 50.00%
10. 2 1.50 00:00:12 100.00% 50.00%
11. 2 1.00 00:00:00 100.00% 0.00%
12. 2 1.50 00:00:01 100.00% 50.00%
13. 2 1.00 00:00:00 100.00% 30.00%
14. 2 1.00 00:00:00 50.00% 20.00%
15. 1 1.00 00:00:00 100.00% 10.00%
16. 1 1.00 00:00:00 100.00% 10.00%
17. 1 1.00 00:00:00 100.00% 30.00%
18. 1 1.00 00:00:00 100.00% 20.00%
19. 1 9.00 00:48:16 100.00% 0.00%
20. 1 1.00 00:00:00 100.00% 0.00%


Network Locations:







Network Location
Visits
Pages/Visit
Avg. Time on Site
% New Visits
Bounce Rate
1. 75 2.01 00:03:57 2.67% 60.00%
2. 59 1.54 00:03:12 1.69% 72.88%
3. 5 1.60 00:04:03 0.00% 60.00%
4. 3 1.00 00:00:00 33.33% 100.00%
5. 2 1.50 00:00:57 50.00% 50.00%
6. 2 1.00 00:00:00 50.00% 0.00%
7. 2 1.00 00:00:00 50.00% 0.00%
8. 2 1.00 00:00:00 100.00% 20.00%
9. 2 1.00 00:00:00 50.00% 30.00%
10. 1 2.00 00:00:10 100.00% 0.00%
11. 1 1.00 00:00:00 100.00% 10.00%
12. 1 1.00 00:00:00 100.00% 10.00%
13. 1 1.00 00:00:00 100.00% 100.00%
14. 1 2.00 00:00:46 100.00% 0.00%
15. 1 8.00 00:14:50 100.00% 0.00%
16. 1 2.00 00:01:17 100.00% 0.00%
17. 1 1.00 00:00:00 100.00% 80.00%
18. 1 1.00 00:00:00 100.00% 100.00%
19. 1 1.00 00:00:00 100.00% 10.00%
20. 1 2.00 00:00:01 100.00% 0.00%
21. 1 1.00 00:00:00 100.00% 50.00%
22. 1 1.00 00:00:00 100.00% 10.00%
23. 1 1.00 00:00:00 100.00% 10.00%
24. 1 1.00 00:00:00 100.00% 40.00%
25. 1 2.00 00:00:23 100.00% 0.00%
26. 1 1.00 00:00:00 100.00% 30.00%
27. 1 1.00 00:00:00 100.00% 10.00%
28. 1 4.00 00:18:20 100.00% 0.00%
29. 1 2.00 00:01:26 100.00% 0.00%
30. 1 1.00 00:00:00 100.00% 10.00%
31. 1 1.00 00:00:00 100.00% 50.00%
32. 1 1.00 00:00:00 100.00% 30.00%
33. 1 1.00 00:00:00 100.00% 20.00%
34. 1 1.00 00:00:00 100.00% 30.00%
35. 1 1.00 00:00:00 100.00% 10.00%
36. 1 1.00 00:00:00 100.00% 20.00%
37. 1 9.00 00:48:16 100.00% 0.00%
38. 1 1.00 00:00:00 100.00% 50.00%
39. 1 1.00 00:00:00 100.00% 10.00%
40. 1 1.00 00:00:00 100.00% 10.00%
41. 1 1.00 00:00:00 100.00% 50.00%


Thanks you all for visiting my blog.

Stay tuned.