- Private Function GetIP() As String
- Dim context As OperationContext
- context = OperationContext.Current
- Dim messageProperties As MessageProperties = context.IncomingMessageProperties
- Dim endpointProperty As RemoteEndpointMessageProperty
- endpointProperty = messageProperties(RemoteEndpointMessageProperty.Name)
- Return endpointProperty.Address
- End Function
sábado, 8 de mayo de 2010
Como obtener la IP del cliente en WCF 3.5
Posts Relacionados por Secciones
Suscribirse a:
Comentarios de la entrada (Atom)
0 comentarios:
Publicar un comentario