¡@

Home 

c# Programming Glossary: network

Excel “External table is not in the expected format.”

http://stackoverflow.com/questions/1139390/excel-external-table-is-not-in-the-expected-format

if from my C# program. The xlsx file is on a share on our network. How can I read the file without having to open it first Thanks..

Creating a byte array from a stream

http://stackoverflow.com/questions/221925/creating-a-byte-array-from-a-stream

read everything it's asked for. If you're reading from a network stream for example it may read one packet's worth and then return..

FileSystemWatcher vs polling to watch for file changes

http://stackoverflow.com/questions/239988/filesystemwatcher-vs-polling-to-watch-for-file-changes

files being created in a directory both locally or on a network drive. Would the FileSystemWatcher or polling on a timer would..

Accessing Password Protected Network Drives in Windows in C#?

http://stackoverflow.com/questions/2563724/accessing-password-protected-network-drives-in-windows-in-c

Windows in C# So in C# I am trying to access a file on a network for example at applications myapp test.txt as follows const.. bad password. I figure its because I need to supply some network credentials but I'm not sure how to get those to work in this.. a a password protected location Thanks in advance c# file networking share improve this question This question got me to where..

How to provide user name and password when connecting to a network share

http://stackoverflow.com/questions/295538/how-to-provide-user-name-and-password-when-connecting-to-a-network-share

to provide user name and password when connecting to a network share When connecting to a network share for which the current.. when connecting to a network share When connecting to a network share for which the current user in my case a network enabled.. to a network share for which the current user in my case a network enabled service user has no rights name and password have to..

What do 'statically linked' and 'dynamically linked' mean?

http://stackoverflow.com/questions/311882/what-do-statically-linked-and-dynamically-linked-mean

their source code such as libraries for database access network communications and graphical user interfaces or for compiling..

Best practices for exception management in Java or C#

http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp

I can't guarantee success for either of these tasks cut network connection malformed JSON object that is out of my control ...

WPF MVVM Newbie - how should the ViewModel close the form?

http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the-viewmodel-close-the-form

in the ViewModel which goes off and sends data over the network to log in. When this function completes there are 2 actions..

Developing Internet Explorer Extensions?

http://stackoverflow.com/questions/5643819/developing-internet-explorer-extensions

2012 03 23 understanding ie10 enhanced protected mode network security addons cookies metro desktop.aspx IntPtr phKey new.. 2012 03 23 understanding ie10 enhanced protected mode network security addons cookies metro desktop.aspx IntPtr phKey new..

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials

it back. For various and sundry reasons our security network architects have rejected the first two approaches. The second.. opinion. They're open to the third option but the remote network admins insist on SFTP rather than FTPS and FtpWebRequest only..

Reliable method to get machine's MAC address in C#

http://stackoverflow.com/questions/850650/reliable-method-to-get-machines-mac-address-in-c-sharp

which returns the MAC address of the first operational network interface. Assuming the NetworkInterface assembly is implemented..

How can I send emails through SSL SMTP with the .NET Framework?

http://stackoverflow.com/questions/1011245/how-can-i-send-emails-through-ssl-smtp-with-the-net-framework

true _SmtpServer.Credentials new System.Net.NetworkCredential username password _SmtpServer.Timeout 5000 _SmtpServer.UseDefaultCredentials.. Information 0 1024 SmtpClient#64923656 Send DeliveryMethod Network System.Net Information 0 1024 Associating SmtpClient#64923656.. Verbose 0 1024 Socket#26756241 Socket InterNetwork#2 System.Net.Sockets Verbose 0 1024 Exiting Socket#26756241..

Impersonation in ASP.NET MVC

http://stackoverflow.com/questions/1405612/impersonation-in-asp-net-mvc

the development server runs as the developer not Local Network Service. A decent link http msdn.microsoft.com en us library.. resources using the ASP.NET account in IIS 5.0 or the Network Service account in IIS 6.0. With impersonation if the client..

How to calculate the IP range when the IP address and the netmask is given?

http://stackoverflow.com/questions/1470792/how-to-calculate-the-ip-range-when-the-ip-address-and-the-netmask-is-given

So for my example the network is 192.168.33.64 26 Network address 192.168.33.64 First usable 192.168.33.65 you can use..

System.UnauthorizedAccessException: Retrieving the COM class factory for Word Interop fails with error 80070005.

http://stackoverflow.com/questions/1491123/system-unauthorizedaccessexception-retrieving-the-com-class-factory-for-word-in

for ASP.NET process identity MACHINE ASPNET on IIS 5 or Network Service on IIS 6 Control Panel Administrative Tools Component.. and remote for ASP.NET process identity ASPNET for IIS 5 Network Service for IIS 6 . If then you get an System.Runtime.InteropServices.COMException..

Enumerating Network Shares with C#

http://stackoverflow.com/questions/2091126/enumerating-network-shares-with-c-sharp

Network Shares with C# Is there a part of the .net framework that enumerates..

How can you change Network settings (IP Address, DNS, WINS, Host Name) with code in C#

http://stackoverflow.com/questions/209779/how-can-you-change-network-settings-ip-address-dns-wins-host-name-with-code

can you change Network settings IP Address DNS WINS Host Name with code in C# I am.. namespace WindowsFormsApplication_CS class NetworkManagement summary Set's a new IP Address and it's Submask of.. ManagementClass objMC new ManagementClass Win32_NetworkAdapterConfiguration ManagementObjectCollection objMOC objMC.GetInstances..

Accessing Password Protected Network Drives in Windows in C#?

http://stackoverflow.com/questions/2563724/accessing-password-protected-network-drives-in-windows-in-c

Password Protected Network Drives in Windows in C# So in C# I am trying to access a file.. does not cache credentials for this logon type. summary Network 3 summary This logon type is intended for batch servers where.. NOTE Windows NT This value is not supported. summary NetworkCleartext 8 summary This logon type allows the caller to clone..

How to catch SQLServer timeout exceptions

http://stackoverflow.com/questions/29664/how-to-catch-sqlserver-timeout-exceptions

failure try SqlConnection sql new SqlConnection @ Network Library DBMSSOCN Data Source YourServer 1433 Initial Catalog..

How do I find out which process is locking a file using .NET?

http://stackoverflow.com/questions/317071/how-do-i-find-out-which-process-is-locking-a-file-using-net

process locked a file using c# Command line tool Across a Network Locking a USB device Unit test fails with locked file deleting..

Setting multiple SMTP settings in web.config?

http://stackoverflow.com/questions/4363038/setting-multiple-smtp-settings-in-web-config

configSections mailSettings smtp_1 deliveryMethod Network from mail1@temp.uri network host ... defaultCredentials false.. ... defaultCredentials false smtp_1 smtp_2 deliveryMethod Network from mail2@temp.uri network host 1... defaultCredentials false.. 1... defaultCredentials false smtp_2 smtp_3 deliveryMethod Network from mail3@temp.uri network host ... defaultCredentials false..

Monitor a process's network usage?

http://stackoverflow.com/questions/438240/monitor-a-processs-network-usage

Microsoft has an free application for it called Microsoft Network Monitor 3.2 download . According to the release notes it also.. According to the release notes it also has an api to use. Network Monitor API Create your own applications that capture parse..

Access a Remote Directory from C#

http://stackoverflow.com/questions/5433570/access-a-remote-directory-from-c-sharp

authentication to a network share. summary public class NetworkConnection IDisposable #region Variables summary The full path.. summary Initializes a new instance of the see cref NetworkConnection class. summary param name networkName The full path.. to use when connecting to the network share. param public NetworkConnection string networkName NetworkCredential credentials ..

Send Email via C# through Google Apps account

http://stackoverflow.com/questions/757987/send-email-via-c-sharp-through-google-apps-account

string sendEmailsFromPassword password NetworkCredential cred new NetworkCredential sendEmailsFrom sendEmailsFromPassword.. sendEmailsFromPassword password NetworkCredential cred new NetworkCredential sendEmailsFrom sendEmailsFromPassword SmtpClient mailClient.. true mailClient.DeliveryMethod SmtpDeliveryMethod.Network mailClient.UseDefaultCredentials false mailClient.Timeout 20000..

How do I use TransactionScope in C#?

http://stackoverflow.com/questions/794364/how-do-i-use-transactionscope-in-c

the database if that matters. I am using Sql Server 2005. Network access for Distributed Transaction Manager MSDTC has been disabled...

Impersonation in ASP.NET MVC

http://stackoverflow.com/questions/1405612/impersonation-in-asp-net-mvc

.Name NT AUTHORITY NETWORK SERVICE Post Impersonation User.Identity my windows credentials.. my windows credentials GetCurrent.Name NT AUTHORITY NETWORK SERVICE So before I impersonate the current user is the System..

Problems with office automation in asp.net. I can use alternatives such as open-office, if I knew how

http://stackoverflow.com/questions/2653740/problems-with-office-automation-in-asp-net-i-can-use-alternatives-such-as-open

context The process is running with the user NT AUTHORITY NETWORK SERVICE. IIS is configured to use anonymous authentication...

ASP.NET Access to the temp directory is denied

http://stackoverflow.com/questions/542312/asp-net-access-to-the-temp-directory-is-denied

to the temp directory is denied. Identity 'NT AUTHORITY NETWORK SERVICE' under which XmlSerializer is running does not have..

Erratic Invalid Viewstate issue in a .NET application

http://stackoverflow.com/questions/728513/erratic-invalid-viewstate-issue-in-a-net-application

ID 4004 Process name w3wp.exe Account name NT AUTHORITY NETWORK SERVICE Exception information Exception type HttpException Exception.. False Authentication Type Thread account name NT AUTHORITY NETWORK SERVICE Thread information Thread ID 1 Thread account name NT.. information Thread ID 1 Thread account name NT AUTHORITY NETWORK SERVICE Is impersonating False Stack trace at System.Web.UI.Page.DecryptStringWithIV..

Getting EndpointNotFoundException with NetNamedPipeBinding in C#; Need To Create Global Named Pipe

http://stackoverflow.com/questions/7477813/getting-endpointnotfoundexception-with-netnamedpipebinding-in-c-need-to-create

access to any security context which has membership of the NETWORK USERS group SID S 1 5 2 . This enforces the WCF guarantee of..