¡@

Home 

c# Programming Glossary: seek

Looking for a simple standalone persistent dictionary implementation in C#

http://stackoverflow.com/questions/100235/looking-for-a-simple-standalone-persistent-dictionary-implementation-in-c-sharp

not re write the entire underlying file instead it should seek to the position in the file and update the value. Similar Questions..

.NET EventHandlers - Generic or no?

http://stackoverflow.com/questions/129453/net-eventhandlers-generic-or-no

namespace is imported by default so they have to manually seek out your namespace even with a fancy tool like Resharper.....

Implementing a log viewer with WPF

http://stackoverflow.com/questions/16743804/implementing-a-log-viewer-with-wpf

a log viewer with WPF I seek advice for the best approach to implement a console log viewer..

Streaming input to System.Speech.Recognition.SpeechRecognitionEngine

http://stackoverflow.com/questions/1682902/streaming-input-to-system-speech-recognition-speechrecognitionengine

seems to require a Stream of a defined length which can seek. Right now the only way I can think to make this work is to.. complaining that This stream does not support seek operations. Does anyone know how to get around this It must..

Creating a Huge Dummy File in a Matter of Seconds in C#

http://stackoverflow.com/questions/1881050/creating-a-huge-dummy-file-in-a-matter-of-seconds-in-c-sharp

io share improve this question Simply create the file seek to a suitably large offset and write a single byte FileStream..

Using Protobuf-net, I suddenly got an exception about an unknown wire-type

http://stackoverflow.com/questions/2152978/using-protobuf-net-i-suddenly-got-an-exception-about-an-unknown-wire-type

to skip an entire child object field since you can't just seek past an unexpected object 4 end group twinned with 3 5 32 bit..

.NET C# - Random access in text files - no easy way?

http://stackoverflow.com/questions/265639/net-c-sharp-random-access-in-text-files-no-easy-way

the header is. I need random access to the text file to seek to the beginning of each record after a user asks for it. I.. case where I'm parsing a log file and I sometime have to seek ahead in the file and then come back. I implemented just enough..

Get last 10 lines of very large text file > 10GB c#

http://stackoverflow.com/questions/398378/get-last-10-lines-of-very-large-text-file-10gb-c-sharp

improve this question Read to the end of the file then seek backwards until you find ten newlines and then read forward..

Refactoring Fibonacci Algorithm

http://stackoverflow.com/questions/406446/refactoring-fibonacci-algorithm

following the fifteen exercises here http www.jobsnake.com seek articles index.cgi openarticle 8533 as my first task. I've just..

Posting JSON Data to ASP.NET MVC

http://stackoverflow.com/questions/4164114/posting-json-data-to-asp-net-mvc

the input stream if content type 'application json' so seek to the begining request.InputStream.Seek 0 SeekOrigin.Begin..

How to read a text file reversely with iterator in C#

http://stackoverflow.com/questions/452902/how-to-read-a-text-file-reversely-with-iterator-in-c-sharp

defaulting to UTF 8 and a function which produces a seekable stream or a filename for convenience and yields lines from.. are supported. The stream returned by the function must be seekable. summary public sealed class ReverseLineReader IEnumerable.. that the returned stream is either unreadable or unseekable a NotSupportedException is thrown. summary public IEnumerator..

Should we select VB.NET or C# when upgrading our legacy applications? [closed]

http://stackoverflow.com/questions/507291/should-we-select-vb-net-or-c-sharp-when-upgrading-our-legacy-applications

decision making procesesses. To do so I thought it best to seek input from those who had been through the process themselves...

Using FileStream.Seek

http://stackoverflow.com/questions/5201414/using-filestream-seek

Also are there faster ways to do this using something like seek I am looking for code based options and NOT Oracle or SQL Server... questions 5201414 having a problem while using filestream seek in c solved summary class PaddedFileSeek public FileInfo File.. string fileName fileName @ C Temp Temp.txt PaddedFileSeek seeker new PaddedFileSeek new FileInfo fileName for int n 0 n 25..

Read MS Exchange email in C#

http://stackoverflow.com/questions/652549/read-ms-exchange-email-in-c-sharp

via IMAP and this ended up working very well. I normally seek out free or open source libraries but I found all of the .NET..

Query extremely slow in code but fast in SSMS

http://stackoverflow.com/questions/7637907/query-extremely-slow-in-code-but-fast-in-ssms

and the execution plan in SSMS says they are using index seeks for the look ups so they are fast lookups. The program is behaving.. a table scan where the SSMS query can do a quick key seek. This is a well know and understood issue with using Parameters.AddWithValue..

Maintaining an open Redis connection using BookSleeve

http://stackoverflow.com/questions/8645953/maintaining-an-open-redis-connection-using-booksleeve

if it won't open but that is up to your design needs. I seek for code snippet s that cover general Redis connection opening..

how to write super fast file streaming code in C#?

http://stackoverflow.com/questions/955911/how-to-write-super-fast-file-streaming-code-in-c

inefficient anyway as it needs to open the input file and seek many times. If you're just splitting up the file why not open.. instead of reopening the file at the beginning and then seeking. I think it'll be significantly faster but obviously you'll..

Drag and drop virtual files using IStream

http://stackoverflow.com/questions/1187444/drag-and-drop-virtual-files-using-istream

MediumStream FileAccess.Read ComRelease.None Seek from beginning if startOffset 0 if StreamWrapper.CanSeek StreamWrapper.Seek.. Seek from beginning if startOffset 0 if StreamWrapper.CanSeek StreamWrapper.Seek startOffset SeekOrigin.Begin else byte Null.. if startOffset 0 if StreamWrapper.CanSeek StreamWrapper.Seek startOffset SeekOrigin.Begin else byte Null new byte 256 int..

Streaming input to System.Speech.Recognition.SpeechRecognitionEngine

http://stackoverflow.com/questions/1682902/streaming-input-to-system-speech-recognition-speechrecognitionengine

bool CanRead get return true public override bool CanSeek get return false public override bool CanWrite get return.. long Position get return 0L set public override long Seek long offset SeekOrigin origin return 0L public override void.. get return 0L set public override long Seek long offset SeekOrigin origin return 0L public override void SetLength long..

Does a wrapper class for a COM interop IStream already exist?

http://stackoverflow.com/questions/2586159/does-a-wrapper-class-for-a-com-interop-istream-already-exist

bool CanRead get return true public override bool CanSeek get return true public override bool CanWrite get return true.. return iop.Marshal.ReadInt32 mInt64 public override long Seek long offset System.IO.SeekOrigin origin mSource.Seek offset.. mInt64 public override long Seek long offset System.IO.SeekOrigin origin mSource.Seek offset int origin mInt64 return iop.Marshal.ReadInt64..

Convert a Stream to a FileStream in C#

http://stackoverflow.com/questions/3769067/convert-a-stream-to-a-filestream-in-c-sharp

data and I need to be able to perform stream.Read stream.Seek methods which are methods of the FileStream type. A simple cast.. stream filestream share improve this question Read and Seek are methods on the Stream type not just FileStream . It's just.. I prefer using the Position property over calling Seek but they boil down to the same thing. If you would prefer having..

Change the requested url of WebResource.axd

http://stackoverflow.com/questions/5536536/change-the-requested-url-of-webresource-axd

get return baseStream.CanRead public override bool CanSeek get return baseStream.CanSeek public override bool CanWrite.. public override bool CanSeek get return baseStream.CanSeek public override bool CanWrite get return baseStream.CanWrite.. baseStream.Read buffer offset count public override long Seek long offset System.IO.SeekOrigin origin return baseStream.Seek..