15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PCsWebsite3 – pointers<br />

PCSWebSite3 (continued)<br />

MeetingRoomBooker.mdf, 1169–1171<br />

binding to, 1171<br />

events added to, 1174–1175<br />

tables, 1170<br />

templates <strong>and</strong>, 1178–1180<br />

Peek(), 237, 240<br />

Peer Name Resolution Protocol (PNRP), 1339,<br />

1343–1346, 1355<br />

clouds, 1344–1345<br />

IDs, 1344<br />

in Windows 7, 1345–1346<br />

peer names<br />

defined, 1343<br />

registering, 1347–1348<br />

resolving, 1348–1349<br />

peer presence, 1352, 1353<br />

PeerCollaboration class, 1352<br />

PeerPresenceStatus enumeration, 1352–1353<br />

peers, 1342<br />

contacts <strong>and</strong>, 1353<br />

defined, 1341, 1342<br />

discovering, 1353<br />

groups of, 1342. See also clouds<br />

signing in/signing out, 1352<br />

PeerScope, 1352<br />

peer-to-peer networking (P2P), 1339–1355<br />

architecture, 1340–1342<br />

challenges, 1341–1342<br />

client-server architecture v., 1340–1341<br />

communication <strong>and</strong>, 1341, 1342<br />

connection <strong>and</strong>, 1341, 1342<br />

discovery <strong>and</strong>, 1341–1342<br />

Microsoft Windows Peer-to-Peer Networking<br />

platform, 1343–1346<br />

overview, 1339–1343<br />

PNM. See People Near Me<br />

PNRP <strong>and</strong>, 1339, 1343–1346, 1355<br />

sample applications, 1346–1355<br />

solutions, 1342–1343<br />

System.Net.PeertoPeer, 1347–1352<br />

System.Net.PeertoPeer.Collaboration, 1352–1355<br />

terminology, 1342<br />

Peer-to-Peer Networking platform (Microsoft<br />

Windows), 1343–1346<br />

People Near Me (PNM), 1339, 1346<br />

signing in/signing out, 1352–1353<br />

percentage format (P), 52, 213<br />

perfmon.exe. See Performance Monitor<br />

performance<br />

collection classes <strong>and</strong>, 264–266<br />

exceptions <strong>and</strong>, 351<br />

garbage collection <strong>and</strong>, 311–312<br />

generics <strong>and</strong>, 108<br />

IL <strong>and</strong>, 4–5<br />

pointers <strong>and</strong>, 317, 329–332<br />

processes <strong>and</strong>, 12<br />

performance counter builder, 484–486<br />

performance counts, 461, 484, 485, 486, 487, 488<br />

Performance Monitor (perfmon.exe), 375, 461, 478,<br />

488–489, 692<br />

performance monitoring, 483–489<br />

PerformanceCounter, 483<br />

PerformanceCounter components, 486–489<br />

PerformanceCounterCategory, 483, 484, 485,<br />

486, 487<br />

PerformanceCounterDemo/MainWindow.xaml.cs, 485,<br />

486, 487<br />

PerformanceCounterInstaller, 483<br />

Perl, 217, 218. See also regular expressions<br />

‹permission›, 53<br />

permission sets, 563–564<br />

permissions, 562–567<br />

code access, CLR <strong>and</strong>, 562–563<br />

dem<strong>and</strong>ing permissions programmatically, 564–565<br />

implicit, 566–567<br />

S<strong>and</strong>box API <strong>and</strong>, 562, 565–566<br />

PersonComparer, 138<br />

phantom reads, 625, 626<br />

PhoneCustomer class, 66<br />

Pick activity, 1314–1316, 1321, 1328, 1330, 1331<br />

PictureBox control, 1136–1137<br />

pin buttons, 394<br />

pinning/unpinning windows, 394<br />

p/invoke. See platform invoke<br />

P/Invoke Interop Assistant, 723<br />

pinvoke.net, 723<br />

PInvokeSample/NativeMethods.cs, 725<br />

PlaceHolder, 1161<br />

platform independence (.<strong>NET</strong>), 4<br />

platform invoke (p/invoke), 16, 632, 722–726, 799,<br />

1398, 1402, 1408<br />

PLINQ Execution Engine, 15<br />

pluggable controls, 652<br />

PNM. See People Near Me<br />

PNRP. See Peer Name Resolution Protocol<br />

PnrpPermission, 1349<br />

PnrpPermissionAttribute, 1349<br />

pointer member access operator (-›), 323–324<br />

PointerPlayground, 325–329<br />

PointerPlayground/Program.cs, 326<br />

PointerPlayground.sln, 327<br />

pointers, 8, 11, 12, 32<br />

adding, 322<br />

arithmetic operations on, 322–323<br />

array syntax <strong>and</strong>, 331<br />

backward compatibility <strong>and</strong>, 317<br />

casting<br />

between pointer types, 321<br />

pointers to integer types, 320–321<br />

1452<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!