static string GetBase64FromBytes (byte [] bytes, int offset, int len) { return Convert.ToBase64String (bytes, offset, len); }