3 writes to CsAddrInfos
System.ServiceModel (3)
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
1893
registerQuery.
CsAddrInfos
= new CsAddrInfo[registration.Addresses.Length];
1955
registerQuery.
CsAddrInfos
= infos.ToArray();
2161
querySet.
CsAddrInfos
= new CsAddrInfo[nativeQuerySet.dwNumberOfCsAddrs];
16 references to CsAddrInfos
System.ServiceModel (16)
System\ServiceModel\Channels\PnrpPeerResolver.cs (16)
1364
if (input.
CsAddrInfos
!= null)
1366
result.dwNumberOfCsAddrs = input.
CsAddrInfos
.Length;
1367
result.addressList = CsAddrInfoSafe.FromAddresses(input.
CsAddrInfos
);
1897
registerQuery.
CsAddrInfos
[i].LocalAddr = registration.Addresses[i];
1898
registerQuery.
CsAddrInfos
[i].iProtocol = (int)ProtocolType.Tcp;
1899
registerQuery.
CsAddrInfos
[i].iSocketType = (int)SocketType.Stream;
1951
if (PnrpPeerResolver.MaxAddressEntriesV1 < registerQuery.
CsAddrInfos
.Length)
1953
List<CsAddrInfo> infos = new List<CsAddrInfo>(registerQuery.
CsAddrInfos
);
1954
infos.RemoveRange(PnrpPeerResolver.MaxAddressEntriesV1, registerQuery.
CsAddrInfos
.Length - PnrpPeerResolver.MaxAddressEntriesV1);
2100
pnrpRegistration.Addresses = new IPEndPoint[querySet.
CsAddrInfos
.Length];
2101
for (int i = 0; i < querySet.
CsAddrInfos
.Length; i++)
2102
pnrpRegistration.Addresses[i] = querySet.
CsAddrInfos
[i].LocalAddr;
2167
querySet.
CsAddrInfos
[i].iProtocol = nativeCsAddrInfo.iProtocol;
2168
querySet.
CsAddrInfos
[i].iSocketType = nativeCsAddrInfo.iSocketType;
2169
querySet.
CsAddrInfos
[i].LocalAddr = IPEndPointFromSocketAddress(nativeCsAddrInfo.LocalAddr, scopeId);
2170
querySet.
CsAddrInfos
[i].RemoteAddr = IPEndPointFromSocketAddress(nativeCsAddrInfo.RemoteAddr, scopeId);