Go Back   Developer Program Forum > Sports API > .NET

.NET Discussion about the .NET Framework (C#/VB), Microsoft's platform for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes.

Post Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2009, 05:03 AM
Quagland Quagland is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default Using BetFair web services with a proxy server

Hi,

I am having trouble figuring this out. I need to connect to the web services through a proxy server but I can't find any information on how to do it.

My research has only gathered this: (using Google web services)
Code:
Dim s As New Google.GoogleSearchService 
Dim pr As New System.Net.WebProxy("127.0.1.2", 80) 

s.Proxy = pr 

' google search

Dim r As Google.GoogleSearchResult = blah...
Problem is that the BetFair service doesn't have the Proxy property.

Does anyone know if this can be achieved?

Cheers
  #2  
Old 02-20-2009, 08:07 PM
mmmDotNet mmmDotNet is offline
Junior Member
 
Join Date: Feb 2009
Location: London
Posts: 8
Default

I've never tried this, but perhaps you could explore the proxyAddress and useDefaultWebProxy properties on your binding elements in App.config...

http://msdn.microsoft.com/en-us/library/ms731361.aspx
Post Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling api from a server as a vendor wilsonlarg General Sports Programming 7 11-24-2012 05:42 AM
Do not get references to any of the betfair services that use IAsyncResult Explorer .NET 14 05-10-2010 10:20 PM
API-connection problem with proxy StefanGermany API Services 3 05-07-2010 08:53 AM
Detecting Proxy? OzPunter General Sports Programming 2 11-09-2009 05:13 PM
JAX-WS 2.1 client through HTTP Proxy Valiantinos Java 1 05-22-2009 11:19 AM


All times are GMT. The time now is 10:15 PM.


BETFAIR® and the BETFAIR LOGO are registered trade marks of The Sporting Exchange Limited. Data on Betfair website(s) (including pricing data) is protected by © and database rights. It may not be used for any purpose without a licence. © The Sporting Exchange Limited. All rights reserved.