- Today
- Total
- MariaDB
- ubuntu
- Raspberry Pi
- RaspberryPi
- WebViewClient
- 자동 닫힘
- c#
- Image icon 변환
- ImageList Icon 변환
- OSHP
- 라즈베리 피이
- Ribbon
- 다중 Filter
- ContextMenuStrip
- ScrollBarTrackPolicy
- <<<<<<<<
- OpenFileDialog
- UltraToolbarsManager
- mariaDB 설치
- usb 인식 불가
- .mine
- mariaDB 외부접속
- onPageFinished
- node.js 설치
- 동영상 오류
- startActivity
- 라즈베리파이
- mp4 재생
- node.js
- Spread
목록c# (6)
Realman's World
개발 중 아래와 같은 오류가 발생할 때가 있다. "LC.exe"이(가) -1 코드에서 끝났습니다. 이 오류는 보통 사용중이던 외부 모듈 등을 삭제했을 경우에 발생한다. 이때는 당황하거나 짜증을 내지 말고 솔루션 탐색기의 Properties를 선택하고 licenses.licx 파일을 삭제하면 간단하게 해결된다.
현재 로컬의 IP를 받아 올 때 일반적으로 아래와 같이 받아온다. IPHostEntry senderIP = Dns.GetHostEntry(Dns.GetHostName()); string sClientIp = senderIP.AddressList[0].ToString(); 하지만 위와 같은 방식으로 했을 경우 비스타에서는 ipv6로 IP를 받아오게 된다. 때문에 원하는 Socket 통신을 할 때 ipv4로 동작하는 PC와는 연동이 되지 않는다. 이를 해결하기 위해 IP를 ipv4로 받아오기 위해서 아래와 같이 코딩하면 된다. string sClientIp = String.Empty; IPHostEntry senderIP = Dns.GetHostEntry(Dns.GetHostName()); for (int ..
C#에서 제공하는 FTP 관련 클래스는 여러가지가 있다. 그 중에서 가장 사용하기 쉬운 FtpWebRequest 클래스를 소개하려고 한다. FtpWebRequest가 제공하는 기능은 WebRequestMethods 클래스의 멤버 변수를 살펴보면 된다. Name Description AppendFile Represents the FTP APPE protocol method that is used to append a file to an existing file on an FTP server. DeleteFile Represents the FTP DELE protocol method that is used to delete a file on an FTP server. DownloadFile Represent..