Da könnte man nur Header Analyse machen schätze ich, fertigen .net Code hab ich auch in der MSDN nicht gefunden. Der SMB2 Header ist hier beschrieben http://wiki.wireshark.org/SMB2 . Auszug:
SMB2 Discovery
When a client tries to discover whether a server supports the SMB2 protocol or not it will initiate a TCP session to port 445 on the server and issue a normal SMB/NegotiateProtocol to the server but also specify the new dialect "SMB 2.001".
If the server supports SMB2 instead of sending a SMB/NegotiateProtocol back selecting this dialect it will send a SMB2/NegotiateProtocol back. The client now knows the server supports SMB2 and will issue a new SMB2/NegotiateProtocol request to the server and from thereon the client will only talk SMB2 on that session.
A client will "remember" that a server supports "SMB2" so later setups of new sessions will attempt SMB2 immediately.
Eine Beschreibung des Verbindungsablaufes beschreibt Richard Kok:
Nachtrag: Der einfachkeit halber kann man auch ein Framework verwenden, ein Kollege hat mir sharppcap empfohlen. Vielleicht hilft dir das beim bauen von Testpacketen für SMB2
Der einfachkeit halber kann man auch ein Framework verwenden, ein Kollege hat mir sharppcap empfohlen. Vielleicht hilft dir das beim bauen von Testpacketen für SMB2