Class ShellUtils
System.Object
  Westwind.Utilities.ShellUtils
public static class ShellUtils : object

Class Members

MemberDescription

GoUrl

Uses the Shell Extensions to launch a program based on URL moniker or file name Basically a wrapper around ShellExecute

public static int GoUrl(string url)

HttpGet

Simple method to retrieve HTTP content from the Web quickly

public static string HttpGet(string url)

public static string HttpGet(string url,     ref string errorMessage)

HttpGetBytes

Retrieves a buffer of binary data from a URL using a plain HTTP Get.

public static Byte[] HttpGetBytes(string url)

public static Byte[] HttpGetBytes(string url,     ref string errorMessage)

ShowHtml

Shows a string as HTML

public static int ShowHtml(string htmlString)

ShowString

Displays a string in in a browser as HTML. Optionally provide an alternate extension to display in the appropriate text viewer (ie. "txt" likely shows in NotePad)

public static int ShowString(string text,     string extension)

ShowText

Displays a large Text string as a text file in the systems' default text viewer (ie. NotePad)

public static int ShowText(string TextString)

Requirements

Namespace: Westwind.Utilities
Assembly: westwind.utilities.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic