var img = MercatorController.xFunctions.xStaticMapGetBing("Map/Road/47.6156352,-122.2043549/12?pp=47.6156352,-122.2043549;;1&pp=47.612441,-122.204533;;2&dcl=1", out string error);
if (img != null)
    img.Save(@"c:\test\map.png", System.Drawing.Imaging.ImageFormat.Png);
else
    MercatorUi.Dialogs.Stop(error);