[libRETS-users] Re: Problem with libRETS

Keith T. Garner kgarner at crt.realtors.org
Fri Jun 1 15:11:35 CDT 2007


Luke,

you should really join the librets-users mailing list.  THat's the most
appropriate place to ask that question.  Especially when I'm tied up in all
day meetings like I have been.

On 5/31/07 6:36 PM, Luke Davis wrote:
> I’ve recently been handed a project that will download information from
> our MLS via RETS to our internal database; I think librets is the most
> effective means of doing that.   I’m new to C# and .NET so you’ll have
> to bear with me.   In a lot of the sample code there is just a place for
> username and password and not User-Agent Header, where would that go in
> the script?

We don't yet have fully C# documentation (anyone want to feed the wiki?) but
we do have the C++ API documentation at
http://www.crt.realtors.org/projects/rets/librets/documentation/api/

For the most part, all the Class and Method names are the same between the
C++ and the C# interface.

You're probably most interested in looking at the RetsSession class
documentation at
http://www.crt.realtors.org/projects/rets/librets/documentation/api/classlibrets_1_1_rets_session.html

There you will see you just want to do a session.SetUserAgent("Foo");

Keith

-- 
  Keith T. Garner - Managing Director - Center for REALTOR® Technology
   kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt




More information about the libRETS-users mailing list