add tow methods into silverlight common.