Inheritance: IDisposable
Ejemplo n.º 1
0
 public static string getLinkLocation(string path)
 {
     using (ShellLink link = new ShellLink())
     {
         link.Load(path);
         return(link.GetPath());
     }
 }
Ejemplo n.º 2
0
 public static IntPtr getLinkLocation(string path, Boolean resolve)
 {
     using (ShellLink link = new ShellLink())
     {
         link.Load(path);
         if (resolve)
         {
             link.Resolve();
         }
         return(link.GetIDList());
     }
 }
Ejemplo n.º 3
0
		public static string getLinkLocation(string path)
		{
			using (ShellLink link = new ShellLink())
			{
				link.Load(path);
				return link.GetPath();
			}
		}
Ejemplo n.º 4
0
 public static IntPtr getLinkLocation(string path, Boolean resolve)
 {
     using (ShellLink link = new ShellLink())
     {
         link.Load(path);
         if (resolve)
         {
             link.Resolve();
         }                
         return link.GetIDList();
     }
 }