Exemplo n.º 1
0
            public override void SetLength(long value)
            {
                ULARGE_INTEGER ul = new ULARGE_INTEGER();

                ul.QuadPart = (ulong)value;
                comStream.SetSize(ul);
            }
Exemplo n.º 2
0
            public override void SetLength(long value)
            {
                ThreadHelper.ThrowIfNotOnUIThread();
                ULARGE_INTEGER ul = new ULARGE_INTEGER();

                ul.QuadPart = (ulong)value;
                comStream.SetSize(ul);
            }