Enum UPNP.UPNPResult

enum UPNPResult : int { ... }

Enum members

NameDescription
upnpResultActionFailed The action failed.
upnpResultConflictWithOtherMapping Conflict with an existing port mapping.
upnpResultConflictWithOtherMechanism Conflict with other mechanism. May be returned instead of constant UPNP_RESULT_CONFLICT_WITH_OTHER_MAPPING if a port mapping conflicts with an existing one.
upnpResultExtPortMustBeWildcard The external port value must be a wildcard.
upnpResultExtPortWildcardNotPermitted The UPNPDevice does not allow wildcard values for the external port.
upnpResultHttpError HTTP error.
upnpResultInconsistentParameters Inconsistent parameters.
upnpResultIntPortWildcardNotPermitted The UPNPDevice does not allow wildcard values for the internal port.
upnpResultInvalidArgs Invalid arguments.
upnpResultInvalidDuration Invalid duration.
upnpResultInvalidGateway Invalid gateway.
upnpResultInvalidParam Invalid parameter.
upnpResultInvalidPort Invalid port.
upnpResultInvalidProtocol Invalid protocol.
upnpResultInvalidResponse Invalid response.
upnpResultMemAllocError Error allocating memory.
upnpResultNoDevices No devices available. You may need to call discover first, or discovery didn't detect any valid UPNPDevices.
upnpResultNoGateway No gateway available. You may need to call discover first, or discovery didn't detect any valid IGDs (InternetGatewayDevices).
upnpResultNoPortMapsAvailable No port maps are available. May also be returned if port mapping functionality is not available.
upnpResultNoSuchEntryInArray No such entry in array. May be returned if a given port, protocol combination is not found on an UPNPDevice.
upnpResultNotAuthorized Not authorized to use the command on the UPNPDevice. May be returned when the user disabled UPNP on their router.
upnpResultOnlyPermanentLeaseSupported Only permanent leases are supported. Do not use the duration parameter when adding port mappings.
upnpResultPortMappingNotFound No port mapping was found for the given port, protocol combination on the given UPNPDevice.
upnpResultRemoteHostMustBeWildcard The remote host value must be a wildcard.
upnpResultSamePortValuesRequired External and internal port values must be the same.
upnpResultSocketError Socket error.
upnpResultSrcIpWildcardNotPermitted The UPNPDevice does not allow wildcard values for the source IP address.
upnpResultSuccess UPNP command or discovery was successful.
upnpResultUnknownError Unknown error.