I'd like to save that XML response to a string variable in my class. Is this possible?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpDream.Api.Users.Sources
{
internal class TestSource : IUserInformationSource
{
public string GetInformationSource(int forumUserId)
{
return @"save things";
}
}
}
I seem to remember being able to save string literals, but I do not remember how.
To clarify: I do not want to download the string, I want to copy paste the response to a variable. This concrete implementation is for testing purposes when the internet isn't working or whatnot.
This post has been edited by Sergio Tapia: 28 February 2011 - 07:04 PM

New Topic/Question
Reply



MultiQuote




|