Skip to content

Instantly share code, notes, and snippets.

Created August 8, 2012 03:36
Show Gist options
  • Select an option

  • Save anonymous/3291829 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/3291829 to your computer and use it in GitHub Desktop.
public static string GetSignatureImageUrl(object transactionId)
{
return string.Format("{0}/{1}/signature-{2}.png",
HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + HttpContext.Current.Request.ApplicationPath,
ConfigurationManager.AppSettings["ImagesFolder"],
transactionId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment