Guest User

Untitled

a guest
Jun 24th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. IPrototype p = new prototype.PrototypeClient();
  2.  
  3. string uri = GetMeMyURI();
  4. IPrototype p = new prototype.PrototypeClient(new URI(uri));
  5.  
  6. BasicHttpBinding binding = new BasicHttpBinding();
  7. EndpointAddress address = new EndpointAddress(GetMeMyURI());
  8. PrototypeClient yourProxy = new PrototypeClient(binding, address);
  9.  
  10. PrototypeClient yourProxy = new PrototypeClient();
  11. yourProxy.Endpoint.Address = new EndpointAddress(GetMeMyURI(), null);
Add Comment
Please, Sign In to add comment