C# mount / unmount UNC (network folder / drive) 連結網路磁碟機
有些時候為了 security 問題或者想要詳細紀錄使用者存取網路磁碟機或目錄中資料的情況, 所以會另外建立帳號並透過程式來存取網路磁碟機, 而不讓使用者直接用他的帳號密碼來存取, 這時候就需要讓程式可以建立網路磁碟機與中斷連線. 我自己比較喜歡第一個方式, 相對來說簡單許多.
有些時候為了 security 問題或者想要詳細紀錄使用者存取網路磁碟機或目錄中資料的情況, 所以會另外建立帳號並透過程式來存取網路磁碟機, 而不讓使用者直接用他的帳號密碼來存取, 這時候就需要讓程式可以建立網路磁碟機與中斷連線. 我自己比較喜歡第一個方式, 相對來說簡單許多.
After back to Taiwan, fewer wine tasting occassions I can join, that is not a good news for keeping my nose and cultivating this interest. However, Evergreen Laurel Collection co. provides wine tasting activities monthly, and this is my 2nd time. The first time is in the last month, but my tasting notes must lost in […]
in Properties\AssemblyInfo.cs [assembly: AssemblyVersion(“1.0.0.1”)] [assembly: AssemblyFileVersion(“1.0.0.1”)]
cute dogs~ 😀 And their masters are also interesting, ask me for photos of dogs… 😀
太早起床不是一件好事….
UDP Server private void ServerBroadcastThread() { int GroupPort = 15000; UdpClient udp = new UdpClient(); udp.EnableBroadcast = true; IPEndPoint groupEP = new IPEndPoint(IPAddress.Broadcast, GroupPort); string str4; byte[] sendBytes4; while (true) { str4 = “Is anyone out there?”; sendBytes4 = Encoding.Default.GetBytes(str4); udp.Send(sendBytes4, sendBytes4.Length, groupEP); Thread.Sleep(10000); } } UDP Client private void ClientBroadcastThread() { UdpClient receivingUdpClient = […]
While using some library functions in Visual Studio .NET, you can always find such kind of descriptions which help you to get some idea of parameters and functions. However, how to provide such kind of descriptions in your class libraries? Plz refer this! http://www.codeproject.com/KB/XML/csharpcodedocumentation.aspx?msg=1643354
While using MySQL ODBC to execute sql statements, only single sql statement is allowed for execution by default. If you want to execute multiple sql statements at once, you have to enable the multiple statements setting in MySQL ODBC.
The 1st wedding after back to TW, cong. to my university classmate, Mike Chang! 😀 Well, an classmate’s wedding is the best occasion for reunion. 😛 (Well, again, I am not in the photo… the sadness of camera-er. XD BTW, I think I am a little not as close to portrait photos as before, after […]
Well, this is a business can be found in traveling spots. Someone may take a picture of you, and you can get some product or the original picture if you pay. In Ghent, the guy took a shot of me, as the 1st photo. And I took one of him. 😛